counter
Increment, decrement, reset, or get a persistent counter value. Adjust the amount for each change.
Instructions
Manage a counter with state persistence
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": {
"action": "<action>"
},
"name": "counter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Counter action | |
| amount | No | Amount to increment/decrement (default: 1) |