Code referenceserverserver/aiassistantserver/ai/assistant/toolfunctionsFunction: toToolDef()On this pageFunction: toToolDef() toToolDef(tool): ToolDef Defined in: src/server/ai/assistant/tool.ts:87 The model-facing view of a tool: name, description, JSON-Schema params. No handler, no identity. Parameters tool AnyTool Returns ToolDef