Set workspace sharing
stack_set_workspace_sharingSet whether the customer's other agents may run commands and read and write files in one workspace. account_id is the account that owns the workspace. shared true (the default for every workspace) opens it to the customer's other agents, each under its own Passport and Mission; false keeps it to the agent that owns it, and to every other agent it then reads as a workspace that does not exist. The machine's time is charged to the owning account either way. Returns the workspace and changed, false when it was already set that way. Operator only, never metered; an agent cannot change it. Writes one audit row for a change.
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": {
"account_id": "<account_id>",
"workspace_id": "<workspace_id>",
"shared": "<shared>"
},
"name": "stack_set_workspace_sharing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shared | Yes | true to open the workspace to the customer's other agents, false to keep it to its own agent | |
| account_id | Yes | Agent account id (acct_*) | |
| workspace_id | Yes | Workspace id (wsp_*), as returned when the workspace was made or listed |