workspace_put_file
Write or replace a shared workspace file so all agents can read the current version; existing paths retain prior content in history.
Instructions
Write a shared workspace file (a capsule, note, or deliverable) that every agent can read. Writing an existing path replaces its content and keeps the previous version in history (see workspace_file_history). The path may not contain "..". For the single shared project-state object, use workspace_put_context instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent": "<agent>",
"path": "<path>",
"text": "<text>"
},
"name": "workspace_put_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Workspace-relative file path, for example "notes/plan.md". May not contain "..". | |
| text | Yes | The full new content of the file. | |
| agent | Yes | Your registered agent name (recorded as the file's last writer). |