evidence_perform_action
Execute custom business actions on a record (e.g., paying an invoice) using its dedicated action URL. Specify evidence, record ID or code, and parameters.
Instructions
Perform a custom business action on a record via its dedicated {id}/{action}.json URL (e.g. paying an invoice), as opposed to the body-level @action attribute used by evidence_lock/evidence_storno/etc.
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": {
"evidence": "<evidence>",
"action": "<action>"
},
"name": "evidence_perform_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Record ID to act on | |
| kod | No | Record code to act on (alternative to id) | |
| action | Yes | Action name (e.g., 'pay') | |
| params | No | Action parameters | |
| evidence | Yes | Evidence name (e.g., 'faktura-vydana') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |