getCreditsTransaction
Get one credits transaction by transactionId. Get transactionId from getCreditsTransactions. Never invent UUIDs; only use values from prior tool responses. amount is always positive and already in credits, so report it as is, and read type to tell an allocation from spending.
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": {
"transactionId": "<transactionId>"
},
"name": "getCreditsTransaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactionId | Yes | The id of the credits transaction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction | Yes |