stellar_soroban_invoke
Simulate and submit Soroban smart contract invocations by specifying contract ID, method, and source account, with automatic footprint extraction and network submission.
Instructions
Invoke a Soroban smart contract. Simulates the transaction, extracts the footprint, and submits it to the network if policy allows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contractId": "<contractId>",
"method": "<method>",
"sourceAccount": "<sourceAccount>"
},
"name": "stellar_soroban_invoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractId | Yes | Soroban contract ID (C...) | |
| method | Yes | Contract method name to invoke | |
| sourceAccount | Yes | Source account public key (G...) to use for simulation. | |
| args | No | List of arguments for the contract invocation. |