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
| Property | Type | Description | Defined in |
|---|---|---|---|
description | string | - | src/views/view.ts:50 |
inputSchema? | object | JSON Schema (type: object) describing the arguments passed to run. | src/views/view.ts:52 |
name | string | Tool 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 |