Set the monthly X spending limit
set_x_budgetX bills Shager for every read, reply and DM. This sets the most, in US dollars, that this workspace may use on X per calendar month (UTC) for comments and auto-replies; 0 turns X comments and auto-replies off. Default 5. Lowering it takes effect at once. Raising it spends the customer's money, so a workspace manager approves it in Shager first: the first call answers needs_confirmation with confirm_url; after they approve, make the same call again. (Not available in an unclaimed sandbox.)
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": {
"workspace_id": "<workspace_id>",
"monthly_limit_usd": "<monthly_limit_usd>"
},
"name": "set_x_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | Workspace id from list_workspaces | |
| monthly_limit_usd | Yes | US dollars per month, e.g. 5 | |
| confirmation_token | No | The confirmation_token from needs_confirmation. The call goes through only after your human approved this exact action at confirm_url. |