Approve or decline a proposal
answer_agent_proposalApprove or decline one trade an agent proposed (list_agent_proposals gives the ids). Approve queues it: AINDEX's agent service plans it again, simulates it, checks it with the safety net (money goes only to the agent's wallet, you or a protocol AINDEX knows), and only then signs and sends it from the agent's wallet or Lighter account. Decline drops it. Needs an access key that may act. Confirm with the person before approving.
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": {
"agent": "<agent>",
"proposal": "<proposal>",
"answer": "<answer>"
},
"name": "answer_agent_proposal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| answer | Yes | ||
| proposal | Yes | The proposal's id, from list_agent_proposals. |