Call any sevDesk API operation
sevdesk_callExecutes a sevDesk API operation from the catalogue by operationId, handling path, query, and body parameters with dry-run and read-only safeguards.
Instructions
Execute any operation from the catalogue. Path parameters are taken from params by name; remaining params entries become query parameters. Nested objects are encoded in sevDesk's bracket syntax (a[b]=c). Mutating operations are refused when the server runs with SEVDESK_READ_ONLY=true, and are only described (not sent) when SEVDESK_DRY_RUN=true or dryRun is passed. Operations with a preventSendBy query parameter (the *GetPdf reads) default it to true so a read does not mark the document as sent. GETs that change state (sendByWithRender, enshrine flags, preventSendBy=false) count as writes. Booking operations (bookVoucher, bookInvoice, bookCreditNote, their resetToOpen and resetToDraft, createPrivateTransactionRule) and writes that set a transaction status or move a voucher out of draft or mark it paid (updateCheckAccountTransaction, updateVoucher, voucherFactorySaveVoucher) are refused unless SEVDESK_ALLOW_BOOKING=true; prefer sevdesk_link_transaction for vouchers. Can call DELETE operations, which are irreversible. ⚠️ This tool can change data in sevDesk.
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": {
"operationId": "<operationId>"
},
"name": "sevdesk_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body, for POST/PUT operations. | |
| dryRun | No | Describe the request that would be sent instead of sending it. | |
| params | No | Path and query parameters, keyed by parameter name. | |
| operationId | Yes | Exact operationId from sevdesk_list_operations. |