Defined in: packages/integrations/src/model-provider/deepseek/index.ts:69
Tool call returned by chatCompletion. It carries both the OpenAI shape
(type, function) and the internal shape (tool_name, arguments).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
arguments |
Record<string, unknown> |
Parsed arguments. JSON that is not an object becomes {}. |
packages/integrations/src/model-provider/deepseek/index.ts:84 |
function |
object |
The call in the OpenAI shape: function name and raw JSON arguments. An empty argument string is sent as {}. |
packages/integrations/src/model-provider/deepseek/index.ts:75 |
function.arguments |
string |
Arguments as JSON text. | packages/integrations/src/model-provider/deepseek/index.ts:79 |
function.name |
string |
Name of the tool to call. | packages/integrations/src/model-provider/deepseek/index.ts:77 |
id |
string |
Identifier assigned by the API. A tool message answers the call with it. |
packages/integrations/src/model-provider/deepseek/index.ts:71 |
tool_name |
string |
Name of the tool, same as function.name. |
packages/integrations/src/model-provider/deepseek/index.ts:82 |
type |
"function" |
Always function. |
packages/integrations/src/model-provider/deepseek/index.ts:73 |