Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Annotations

import type { Annotations } from "https://googleapis.deno.dev/v1/agentregistry:v1alpha.ts";

Annotations describing the characteristics and behavior of a tool or operation.

interface Annotations {
readonly destructiveHint?: boolean;
readonly idempotentHint?: boolean;
readonly openWorldHint?: boolean;
readonly readOnlyHint?: boolean;
readonly title?: string;
}

§Properties

§
readonly destructiveHint?: boolean
[src]

Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when read_only_hint == false Default: true

§
readonly idempotentHint?: boolean
[src]

Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false. Default: false

§
readonly openWorldHint?: boolean
[src]

Output only. If true, this tool may interact with an "open world" of external entities. If false, the tool's domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not. Default: true

§
readonly readOnlyHint?: boolean
[src]

Output only. If true, the tool does not modify its environment. Default: false

§
readonly title?: string
[src]

Output only. A human-readable title for the tool.