toolmark-monorepo / @toolmark/inertia / PropsToolEntry
Interface: PropsToolEntry
Defined in: packages/inertia/src/props-tools.ts:24
One server-declared tool, as rendered by the server into the toolmark Inertia props key (spec §12.4): a manifest-shaped entry plus the visit that executes it. The server filters the list with its own authorization; the client treats every entry as untrusted and validates it.
Properties
description
description:
string
Defined in: packages/inertia/src/props-tools.ts:30
For the LLM: what the tool does. Non-empty.
hints?
optionalhints?:ToolHints
Defined in: packages/inertia/src/props-tools.ts:34
Behaviour hints. A non-get visit is always at least consequential.
inputSchema
inputSchema:
JsonSchema
Defined in: packages/inertia/src/props-tools.ts:32
Draft 2020-12 input schema in the fromJsonSchema subset; input is validated against it.
name
name:
string
Defined in: packages/inertia/src/props-tools.ts:26
Full tool name (^[A-Za-z0-9_.-]{1,128}$), registered unprefixed.
title?
optionaltitle?:string
Defined in: packages/inertia/src/props-tools.ts:28
User-facing title.
visit
visit:
object
Defined in: packages/inertia/src/props-tools.ts:39
The Inertia visit that runs the tool; url must be same-origin. After registration it holds the canonical absolute URL resolved against the page the entry was registered on.
method
method:
PropsToolMethod
url
url:
string