execute_runtime_library
Run a function from an Algenta runtime library with positional args. Returns result, latency_ms, engine_used, and request_id; use list_runtime_libraries to discover valid names first.
Instructions
Execute one public function from an Algenta runtime library with positional args and return its result, latency_ms, engine_used, and request_id. Call list_runtime_libraries first to discover exact module and function names — an unknown pair fails with module_not_registered or function_not_registered, and a mismatched args list fails with invalid_arguments. Synchronous compute; nothing is persisted.
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 | Positional argument list passed to the function. | |
| module | Yes | Runtime library module name from list_runtime_libraries. | |
| function | Yes | Public function exported by the module. | |
| request_id | No | Optional caller request id for correlation. |