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

NameTypeDescription
toolNamestringRequired. Tool name (^[a-z0-9_]+$).

Response Fields

FieldTypeDescription
namestringTool name.
descriptionstringWhat the tool does.
categorystringOptional grouping.
inputSchemaobjectJSON Schema for the run body.
outputSchemaobjectOptional 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 } }.