diff --git a/index.bs b/index.bs index 69bed7e..491daff 100644 --- a/index.bs +++ b/index.bs @@ -211,6 +211,9 @@ An annotations is a [=struct=] with the following [=struct/items=]: : untrusted content hint :: a [=boolean=], initially false. + + : debugging + :: a [=boolean=], initially false.

Pending tool executions

@@ -758,6 +761,9 @@ The registerTool(tool, optionsgetTools(options) method steps : {{RegisteredTool/annotations}} :: if |tool definition|'s [=tool definition/annotations=] is not null, a {{ToolAnnotations}} dictionary whose {{ToolAnnotations/readOnlyHint}} is |tool - definition|'s [=tool definition/annotations=]'s [=annotations/read-only hint=] and + definition|'s [=tool definition/annotations=]'s [=annotations/read-only hint=], {{ToolAnnotations/untrustedContentHint}} is |tool definition|'s [=tool - definition/annotations=]'s [=annotations/untrusted content hint=]. + definition/annotations=]'s [=annotations/untrusted content hint=], and + {{ToolAnnotations/debugging}} is |tool definition|'s [=tool + definition/annotations=]'s [=annotations/debugging=]. 1. [=list/Append=] |registeredTool| to |tools|. @@ -1068,6 +1076,7 @@ dictionary ModelContextTool { dictionary ToolAnnotations { boolean readOnlyHint = false; boolean untrustedContentHint = false; + boolean debugging = false; }; dictionary ToolExecuteCallbackOptions { @@ -1124,6 +1133,9 @@ The {{ToolAnnotations}} dictionary provides optional metadata about a tool: : annotations["{{ToolAnnotations/untrustedContentHint}}"] :: If true, indicates that the tool's output contains data that is untrusted, from the perspective of the author registering the tool. + + : annotations["{{ToolAnnotations/debugging}}"] + :: If true, indicates that the tool is intended for debugging and developer tooling rather than end-user interactions.

ToolExecuteCallbackOptions Dictionary