mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-18 17:04:49 +00:00
feat(coding-agent): show tool input schema in /export HTML
Include tool parameter names, types, descriptions in a collapsible section under each tool in the export HTML. Also adds parameters to pi.getAllTools() return value. closes #1407, closes #1416
This commit is contained in:
parent
83931c53fd
commit
afb7e5ed4c
6 changed files with 91 additions and 7 deletions
|
|
@ -1159,8 +1159,8 @@ export type GetSessionNameHandler = () => string | undefined;
|
|||
|
||||
export type GetActiveToolsHandler = () => string[];
|
||||
|
||||
/** Tool info with name and description */
|
||||
export type ToolInfo = Pick<ToolDefinition, "name" | "description">;
|
||||
/** Tool info with name, description, and parameter schema */
|
||||
export type ToolInfo = Pick<ToolDefinition, "name" | "description" | "parameters">;
|
||||
|
||||
export type GetAllToolsHandler = () => ToolInfo[];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue