EdgeAIG/opencode / .opencode /node_modules /@ai-sdk /provider /src /language-model /v2 /language-model-v2-provider-defined-tool.ts
EdgeAIG's picture
download
raw
610 Bytes
/**
* The configuration of a tool that is defined by the provider.
*/
export type LanguageModelV2ProviderDefinedTool = {
/**
* The type of the tool (always 'provider-defined').
*/
type: 'provider-defined';
/**
* The ID of the tool. Should follow the format `<provider-name>.<unique-tool-name>`.
*/
id: `${string}.${string}`;
/**
* The name of the tool that the user must use in the tool set.
*/
name: string;
/**
* The arguments for configuring the tool. Must match the expected arguments defined by the provider for this tool.
*/
args: Record<string, unknown>;
};

Xet Storage Details

Size:
610 Bytes
·
Xet hash:
877396446ced767d2b5895029d670a96668ae7f08209a5fdd7ae7bb891ba179c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.