Execute a signed trade intent (protocol submits and pays gas)
kellian_execute_trade_intentExecute a trade the agent authorized by signature. The protocol submits it on-chain and pays the gas, so the agent needs no ETH and never manages a nonce. Sign the signPayload from kellian_prepare_trade, then call this. Re-posting the same signed intent is safe — the digest can only execute once.
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": {
"intent": "<intent>",
"signature": "<signature>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "kellian_execute_trade_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | The signPayload.typedData.message from problee_prepare_trade, unchanged. | |
| chainId | No | ||
| signature | Yes | eth_signTypedData_v4 result over signPayload.typedData. | |
| idempotencyKey | Yes | Stable retry key. Reuse only with byte-equivalent tool arguments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |