Skip to content

AIDK API Reference / aidk-shared / ToolIntent

Enumeration: ToolIntent ​

Defined in: packages/shared/src/tools.ts:60

Tool intent describes WHAT the tool does, independent of WHERE it runs. Used by clients to determine how to render/handle tool calls.

Enumeration Members ​

Enumeration MemberValueDescriptionDefined in
ACTION"action"Performs an action (navigate, clipboard, notification, native feature). Side-effect focused, may not produce visible output.packages/shared/src/tools.ts:71
COMPUTE"compute"Computes/transforms data (default for most tools). Returns data that becomes part of the conversation.packages/shared/src/tools.ts:77
RENDER"render"Renders UI in the client (form, chart, document, code output). The tool_use block becomes renderable content.packages/shared/src/tools.ts:65

Released under the MIT License.