execute_runtime_library
Execute one local-runtime Mojo library function by module and function name. Pass args as either a JSON object, array, scalar, or null. This surface is local/runtime-backed only and does not route through hosted data/query APIs.
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": {
"module": "<module>",
"function": "<function>"
},
"name": "execute_runtime_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | JSON-serializable args payload. May be an object, array, scalar, or null. | |
| module | Yes | Canonical runtime module name, including dotted names. | |
| function | Yes | Function name exposed by the runtime module. | |
| request_id | No | Optional stable request identifier for traceability. |