Set workspace settings
stack_set_workspace_settingsChange workspace settings, for one agent account (account_id) or the customer's defaults. A field left out stays; null clears it so the account inherits the default. idle_pause_minutes is 5 or more, or 0 for no idle pause. delete_after_days is 1 or more, or 0 to keep a stopped workspace until it is deleted by hand; a stopped workspace's disk storage is charged to the account until it is deleted. max_workspaces is the number of workspaces an agent account may have (any number from 1). A running workspace takes a new idle pause now, and a stopped workspace kept longer than the new delete_after_days is deleted by the next sweep; applied says how many of each. The money held for a machine is not a setting: a machine is never billed beyond what is held for it, so with no idle pause it runs until its hold is used and is then paused. Returns the settings, what is in force and a note when workspaces are kept without end. Operator only, never metered.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stack_set_workspace_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Agent account id (acct_*) these apply to. Omit for the customer's defaults, which every agent account without its own setting uses. | |
| max_workspaces | No | Workspaces an agent account may have that are not deleted (any number from 1); null to inherit | |
| delete_after_days | No | Days a stopped workspace is kept before it is deleted: 1 or more, or 0 for never; null to inherit | |
| idle_pause_minutes | No | Minutes with no action before a running workspace is paused: 5 or more, or 0 for none; null to inherit |