Create SAP Subscription
sap_create_subscriptionCreate a recurring subscription for an agent wallet. SAP MCP context: Payment and settlement flow. Estimate or fetch state before creating escrows or settling calls; write operations require an enabled signer mode and MCP policy approval.
SAP MCP execution guidance: Intent: SAP MCP tool workflow. Pricing: paid value-action; preview cost and transaction effects before user confirmation. Routing: hosted accountless write is blocked; do not call this as a paid hosted write and no x402 payment should be charged. Use the local sap_payments bridge or a hosted unsigned builder when user signing is required. Signer boundary: user-controlled local profile or external signer; OOBE hosted MCP remains non-custodial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subId | No | Subscription ID (as a decimal string, default: 0) | |
| agentWallet | No | Agent wallet public key (base58) to create subscription for | |
| initialFund | No | Initial fund amount in lamports (as a decimal string) | |
| billingInterval | No | Billing interval in seconds between charges | |
| pricePerInterval | No | Price per billing interval in lamports (as a decimal string) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |