v50

latestOpenAPI 3.0.0raw.githubusercontent.com2024-08-26226284.9 KB

List tools

Retrieve all tools

get/sdk/v1/tools

Response

Successful operation

idstring required

The initial messages to be included with your call to the LLM API.

namestring required

The name of the tool to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.

descriptionstring required

A description of what the tool does, used by the model to choose when and how to call the tool.

parametersToolParameters required

The parameters the functions accepts, described as a JSON Schema object. This schema is designed to match the TypeScript Record<string, unknown>, allowing for any properties with values of any type.