Preview Transaction
sap_preview_transactionPreview a Solana transaction before signing or submission to validate its structure as a required preflight step for agent workflows.
Instructions
Preview a Solana transaction before signing or submission. This is the required preflight step for agent workflows; do not create local signing scripts or read keypair files.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sap_preview_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoding | No | Input encoding | |
| transaction | No | Serialized transaction |
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. |