run_gene
Execute a local Gene through the Rotifer CLI and return its execution output; the Gene must exist in the local genes/ directory.
Instructions
Execute a local Gene via the Rotifer CLI (rotifer run). The Gene must exist in the local genes/ directory. Returns execution output.
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": {
"gene_name": "<gene_name>"
},
"name": "run_gene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Input JSON data to pass to the gene | |
| verbose | No | Show detailed execution output (default: false) | |
| gene_name | Yes | Gene name (directory name under genes/) | |
| no_sandbox | No | Run without WASM sandbox, Node.js only (default: false). Refused unless the server was launched with --allow=no-sandbox. | |
| project_root | No | Project root path | |
| trust_unsigned | No | Allow Node.js execution for Cloud-installed genes (default: false). Refused unless the server was launched with --allow=trust-unsigned. |