Open Commerce Pathways: session plan
pathways_planReserve at most 10 x402 data calls and one delegate call in a paid session. Shows the default prompt and exact calls from our current directory. Re-reading preserves the same allowances. Report an actual delegate failure with failed_call for one retry within the remaining share, or fallback=true for our one fallback attempt. No fallback after the persistent five-failure pause. Report success with succeeded_call and success_tx; its Base USDC receipt is verified before resetting the failure count. The plan holds your routes plus up to 5 ranked routes on other hosts within the data share (plan.routes_added); second_pass=true after a data call came back with values reserves one more call to it within the share.
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": {
"session": "<session>",
"routes": "<routes>"
},
"name": "pathways_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| routes | Yes | ||
| session | Yes | ||
| delegate | No | ||
| fallback | No | ||
| success_tx | No | ||
| failed_call | No | ||
| second_pass | No | ||
| succeeded_call | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| shares | Yes | ||
| fallback | Yes | ||
| next_calls | Yes | ||
| budget_usdc | Yes | ||
| default_prompt | Yes | ||
| proposed_delegate | Yes |