Update function
update_functionUpdate a sandboxed user function in the caller's workspace (code, description, input/output schema, status enabled/disabled, expose_as_tool). Pass 'function_id' plus the fields to change; bumps the function's version. Only the caller's own function is reachable. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"function_id": "<function_id>"
},
"name": "update_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| status | No | ||
| description | No | ||
| function_id | Yes | ||
| input_schema | No | ||
| output_schema | No | ||
| expose_as_tool | No |