sap sunrise get quote
sap_sunrise_get_quoteGet Sunrise swap quotes between two canonical mints. fromToken/toToken are MINT ADDRESSES (resolve symbols first with sap_sunrise_resolve_token); fromAmount is a STRING in base units ('1000000' = 1 USDC at 6 decimals — numbers are rejected). Without wallet addresses you get a price-only quote (no unsignedTransaction); include fromAddress+toAddress to receive a signable transaction. BUILDER tier.
SAP MCP execution guidance: Intent: read/discovery workflow. Pricing: paid builder; estimate first, then pay/build and finalize unsigned transactions locally when returned. Routing: paid hosted call; call sap_estimate_tool_cost first, then use sap_payments_call_paid_tool if the runtime cannot handle x402 natively. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toToken | Yes | Output token MINT address | |
| fromToken | Yes | Input token MINT address (from sap_sunrise_resolve_token) | |
| toAddress | No | Optional wallet address receiving the output token | |
| fromAmount | Yes | Input amount as STRING in base units (e.g. 1000000 for 1 USDC at 6 decimals) | |
| fromAddress | No | Optional wallet address sending the input token — include to receive unsignedTransaction |
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. |