Skip to main content

AIViewTool

Defined in: src/views/view.ts:46

A tool that the AI assistant can invoke against a view. Declared by views via ViewBase.getAITools (or by viewAIToolsProvider functions); the assistant discovers the current view's tools at prompt time and calls run with arguments matching inputSchema.

Properties

PropertyTypeDescriptionDefined in
descriptionstring-src/views/view.ts:50
inputSchema?objectJSON Schema (type: object) describing the arguments passed to run.src/views/view.ts:52
namestringTool name: letters, digits, _, -. Prefix read-only tools with list_ / get_ — other tools are treated as actions and the assistant verifies their outcome.src/views/view.ts:49
run(args) => any-src/views/view.ts:53