diff --git a/index.bs b/index.bs index 95d6872..2a27761 100644 --- a/index.bs +++ b/index.bs @@ -797,8 +797,9 @@ is.
document.{{Document/modelContext}}.{{ModelContext/registerTool(tool, options)}}Registers a tool that [=agents=] can invoke. Returns a rejected promise if a tool with the - same name is already registered, if the given {{ModelContextTool/name}} or - {{ModelContextTool/description}} are empty strings, or if the {{ModelContextTool/inputSchema}} + same name is already registered, if the given {{ModelContextTool/name}} is the empty string, + if the {{ModelContextTool/description}} is empty or contains only [=ASCII whitespace=], + or if the {{ModelContextTool/inputSchema}} or {{ModelContextTool/outputSchema}} is invalid.