iota_cli
Execute IOTA CLI commands for blockchain operations not handled by specialized tools, enabling direct interaction with the IOTA network.
Instructions
Run an arbitrary IOTA CLI command. Use for operations not covered by other tools.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | CLI arguments (e.g. 'client gas' or 'move new my_project') |
Implementation Reference
- src/index.ts:184-191 (handler)Registration and handler implementation for the 'iota_cli' tool, which uses a shell runner function to execute 'iota' binary commands.
server.tool( "iota_cli", "Run an arbitrary IOTA CLI command. Use for operations not covered by other tools.", { command: z.string().describe("CLI arguments (e.g. 'client gas' or 'move new my_project')"), }, async ({ command }) => text(await run(`iota ${command}`)) );