Skip to content

Computer use for the Pi coding agent — Windows apps, browsers and desktops through native UI trees, screenshots and real input.

docs: name computer_delete among the standalone tools (LPT-934)

alexshpunt-clanker[bot]5a451fb70493
diff --git a/docs/computer-resources.md b/docs/computer-resources.md
index f7bc23b..cee9cdf 100644
--- a/docs/computer-resources.md
+++ b/docs/computer-resources.md
@@ -3,7 +3,7 @@
Computer use works with or without Pi Agent IDE. Each Pi session picks the mode on its own:
- With Pi Agent IDE loaded, in either order, use the ordinary IDE Read, Search, Write and Insert tools on `computer:` addresses.
-- Without IDE, or with an IDE whose plugin API version does not match, use the `computer_read`, `computer_search`, `computer_write` and `computer_insert` tools. They are deferred: find them with `tool_search`, and computer use turns `tool_search` on. Codemode scripts can call them directly.
+- Without IDE, or with an IDE whose plugin API version does not match, use the `computer_read`, `computer_search`, `computer_write`, `computer_insert` and `computer_delete` tools. They are deferred: find them with `tool_search`, and computer use turns `tool_search` on. Codemode scripts can call them directly.
Both modes take the same addresses, views, JSON commands and Codemode values. In this guide, Read, Search, Write and Insert mean either tool family. Without IDE, Read `docs:computer` with `computer_read` for this guide. The `/computer-mode`, `/computer-debug` and `/computer-setup` commands remain user controls. An agent installs an optional part with Insert `{"action":"setup","part":"browser|firefox|perception|mxc|vscode-bridge"}` into a machine address, or prepares another machine with `{"action":"setup","part":"machine","ssh":"<alias>","name":"<name>"}` into `computer:machine/local`, only after the user explicitly allows it. Setup does not start that machine's driver.
diff --git a/src/standalone-tools.ts b/src/standalone-tools.ts
index 5691782..b14ad8b 100644
--- a/src/standalone-tools.ts
+++ b/src/standalone-tools.ts
@@ -15,8 +15,8 @@ const image = Type.Object({ type: Type.Literal("image"), data: Type.String(), mi
const plain = (value: unknown) => String(value).replace(/[\x00-\x1f\x7f-\x9f]/g, " ");
/**
- * Offer computer use without Pi Agent IDE: the same computer: resources through four deferred tools that
- * tool_search finds. Tools stay off the model's tool list until a search loads them.
+ * Offer computer use without Pi Agent IDE: the same computer: resources through deferred computer_read, computer_search,
+ * computer_write, computer_insert and computer_delete tools that tool_search finds. Tools stay off the model's tool list until a search loads them.
*/
export function registerStandaloneTools(pi: ExtensionAPI, resources: ComputerResources, guide: string): void {
const namespace = computerNamespace(guide);