AIClientTool

interface AIClientTool

A tool this device runs when an AI agent asks for it.

The agent writes the call on its reply as an ai_tool_call step with executor: client and status: awaiting_client, addressed to one person and one install. An AIClientToolRunner on that install runs it and sends the result back.

Properties

Link copied to clipboard
abstract val name: String

The tool's name, as the agent declared it.

Functions

Link copied to clipboard
abstract suspend fun run(call: AIToolCallPart): AIClientToolResult

Runs one call.