magma_exec
Execute Magma instructions by parsing verb, agent, and action, routing COMPUTE, QUERY, SEAL, and DISPATCH actions to dedicated executors, signing results with Ed25519, and supporting pipeline syntax with >>.
Instructions
Execute a Magma instruction string. Parses §VERB:AGENT:ACTION{payload}, routes to the correct executor (COMPUTE→Bedrock, QUERY→Groq, SEAL→WORM, DISPATCH→proxy), signs result with governor Ed25519 key, and returns Magma envelope. Supports pipeline syntax with >>.
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": {
"instruction": "<instruction>"
},
"name": "magma_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verify_sig | No | Optional: base64 Ed25519 sig to verify against instruction before executing | |
| instruction | Yes | Magma instruction: §VERB:AGENT:ACTION{payload} or pipeline with >> |