midaz-execute
Execute Midaz API operations for CRUD actions across organizations, ledgers, assets, accounts, transactions, and more. Use after midaz-discover to apply discovered resources and actions.
Instructions
Execute Midaz API operations. Use midaz-discover first to find the right resource+action and required parameters, then call this tool to execute. Supports all CRUD operations across organizations, ledgers, assets, accounts, transactions, balances, holders, aliases, and more.
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": {
"resource": "<resource>",
"action": "<action>"
},
"name": "midaz-execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body for create/update operations | |
| action | Yes | Action to perform (e.g. "create", "get", "list", "update", "delete", "createInflow") | |
| resource | Yes | Resource name (e.g. "organizations", "transactions", "holders", "balances") | |
| pathParams | No | Path parameters as key-value pairs (e.g. { organizationId: "uuid", ledgerId: "uuid" }) | |
| queryParams | No | Query parameters for list/search operations (e.g. { limit: 10, page: 1 }) | |
| mutationReason | No | Human-readable audit reason required for mutating live API actions. | |
| confirmMutation | No | Required as true for POST, PUT, PATCH, or DELETE live API actions. |