Withdraw SAP Escrow V2
sap_withdraw_escrow_v2Directly withdraw funds from a V2 escrow using a local signer.
Instructions
Local-signer-only direct withdrawal from a V2 escrow. Hosted users should call sap_escrow_build_withdraw_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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | No | Escrow nonce (as a decimal string, default: 0) | |
| amount | No | Withdrawal amount as a decimal string. Amount in the escrow token smallest unit: lamports for SOL, micro-USDC for USDC, or base units for the configured SPL token. | |
| agentWallet | No | Agent wallet public key (base58) |
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. |