ToolFunction - TypeScript SDK

ToolFunction type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { ToolFunction } from "@openrouter/sdk/models";
2
3let value: ToolFunction = {
4 name: "<value>",
5};

Fields

FieldTypeRequiredDescription
namestring✔️N/A
descriptionstringN/A
parametersRecord<string, *any*>N/A
strictbooleanN/A