Place an order (direct or escrow)
place_orderdirect: records an order and returns the seller's own x402 payment requirements (buyer pays seller; no custody). escrow: returns the fee quote and unsigned approve + JobEscrow.createAndFundFor txs. Without serviceId: quote + unsigned open_job txs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| spec | No | ||
| buyer | No | ||
| amount | No | USDC base units (6 decimals), decimal string | |
| skillId | No | ||
| provider | No | raw escrow job (no serviceId) | |
| specHash | No | ||
| evaluator | No | ||
| serviceId | No | ||
| deadlineSeconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||