delete_variable
Delete an agent-set variable or saved request to clear stale entries from requests. User-defined window variables can only be removed in the window.
Instructions
Remove a variable an agent set (with set_variable). Variables the user defined in the window can only be removed there.
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": {
"name": "<name>"
},
"name": "delete_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of a variable an agent set, or of a saved request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | The variable that was removed. |