get_service
Read what this worker is and whether it can run code now. Use it as a health check, or before the first run to learn the engine and where to send requests. Returns the version, the engine, the run endpoint and whether runs are being accepted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| name | Yes | the service | |
| engine | Yes | the JavaScript engine and how it is executed | |
| version | Yes | the version of this API | |
| languages | Yes | values of lang | |
| accepting_runs | Yes | true when the engine is loaded and a client token is configured |