Finalize SAP Escrow V2 Settlement
sap_finalize_settlement_v2Local-signer-only direct finalization of a V2 pending settlement. Hosted users should call sap_escrow_build_finalize_transaction and finalize locally. 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 |
|---|---|---|---|
| nonce | No | Escrow nonce (as a decimal string, default: 0) | |
| agentWallet | No | Agent wallet public key (base58) | |
| depositorWallet | No | Depositor wallet public key (base58) | |
| settlementIndex | No | Settlement index to finalize (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. |