lumail.tools.get
SDK 2.1.0 · API v2 · GET /api/v2/tools/:toolName
MethodGET
/api/v2/tools/:toolName[email protected] · lumail.tools
tools.get(toolName: string): Promise<LumailResult<GetToolResponse>>One tool and its input schema.
Path Parameters
| Name | Type | Description |
|---|---|---|
toolName | string | Required. Tool name (^[a-z0-9_]+$). |
Response Fields
| Field | Type | Description |
|---|---|---|
name | string | Tool name. |
description | string | What the tool does. |
category | string | Optional grouping. |
inputSchema | object | JSON Schema for the run body. |
outputSchema | object | Optional JSON Schema for the result. |
HTTP also includes endpoint (/api/v2/tools/{name}). data is the tool definition. Failures return { data: null, error: { name, message, statusCode } }.