routine_get
Retrieve detailed information about a specific Edge Routine from ESA services to manage configurations and deployments.
Instructions
Get a the details of a Edge Routine (ER).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the routine to get details for |
Implementation Reference
- src/tools/er/routine.ts:266-279 (handler)The handler function that implements the core logic of the 'routine_get' tool. It retrieves the details of an Edge Routine (ER) by calling the API with the provided routine name and returns the response.export const routine_get = async (request: CallToolRequest) => { const res = await api.getRoutine( request.params.arguments as GetRoutineRequest, ); return { content: [ { type: 'text', text: JSON.stringify(res), }, ], success: true, }; };
- src/tools/er/routine.ts:86-99 (schema)The Tool schema defining the input schema, name, description for the 'routine_get' tool.export const ROUTINE_GET_TOOL: Tool = { name: 'routine_get', description: 'Get a the details of a Edge Routine (ER).', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'The name of the routine to get details for', }, }, required: ['name'], }, };
- src/tools/list-esa-function.ts:173-173 (registration)Registration of the 'routine_get' handler function in the esaHandlers object, which maps tool names to their handler implementations.routine_get,
- src/tools/list-esa-function.ts:108-108 (registration)Registration of the ROUTINE_GET_TOOL schema in the ESA_OPENAPI_ER_LIST array, which collects tool definitions for the ESA OpenAPI ER tools.ROUTINE_GET_TOOL,