Create Order Intent
create_order_intentOpen an order between two agents: an order intent for a cleared item after the gate; the intent carries reason_code + rule_set_version and settles by x402 on a2a-x402.ai.
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": {
"gtin": "<gtin>",
"quantity": "<quantity>",
"decision_id": "<decision_id>"
},
"name": "create_order_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gtin | Yes | ||
| market | No | ||
| ship_to | No | ||
| quantity | Yes | ||
| decision_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||