Base EVM Machine Payments Protocol (MPP) Streaming Session Planner
infer_mpp_streaming_sessionInitialize a Base USDC MPP metered inference session, allocate a streaming token quota, and return a step-by-step execution plan for session-metered agent tasks settled via Payment-Challenge headers.
Instructions
Initializes a Base USDC Machine Payments Protocol (MPP) metered inference session, allocating a streaming token quota and returning a step-by-step execution plan. Use when running session-metered agent planning settled via Base EVM MPP 'Payment-Challenge' headers; for mapping a task goal to L402 MCP tool calls without opening an MPP streaming session, use route_mcp_workflow_plan instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'task' ('token_quota_tier' defaults to 'compact_1024'), supports '?demo=true' or MPP (100 sats), and returns HTTP 400 if invalid.
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": {
"task": "<task>"
},
"name": "infer_mpp_streaming_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Agent workflow task to execute within the metered MPP session. | |
| token_quota_tier | No | Allocated streaming token ceiling for the session; defaults to 'standard_4096' when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Ordered execution steps generated for the task. | |
| session_id | Yes | Unique MPP streaming session identifier. | |
| session_status | Yes | Session lifecycle state ('ACTIVE_STREAMING'). | |
| streaming_tokens_allocated | Yes | Token budget reserved for the session. |