You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -311,12 +311,7 @@ The reason WebMCP is not limited to only declarative form tools is for the same
311
311
312
312
### Permissions policy and iframes
313
313
314
-
While much of this explainer assumes integration with built-in browser agents, WebMCP also supports **author-provided agents**, such as agents embedded directly on a page or running in an iframe, that can collaborate with parent frames and nested contexts. See:
While much of this explainer assumes integration with built-in browser agents, WebMCP also supports **author-provided agents**, such as agents embedded directly on a page or running in an iframe, that can collaborate with parent frames and nested contexts.
320
315
321
316
By default, WebMCP is enabled in top-level `Window`s and its same-origin iframes, but access can be delegated to cross-origin iframes using the [Permissions Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Permissions_Policy)`allow="tools"`:
Copy file name to clipboardExpand all lines: index.bs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ A <dfn>tool definition</dfn> is a [=struct=] with the following [=struct/items=]
173
173
Note: For tools registered by the imperative form of this API (i.e.,
174
174
{{ModelContext/registerTool()}}), this is the stringified representation of
175
175
{{ModelContextTool/inputSchema}}. For tools registered
176
-
[declaratively](https://github.com/webmachinelearning/webmcp/pull/76), this will be a
176
+
[declaratively](https://github.com/webmachinelearning/webmcp/blob/main/declarative-api-explainer.md), this will be a
177
177
stringified JSON Schema object created by the
178
178
[=synthesize a declarative JSON Schema object algorithm=].
179
179
[[!JSON-SCHEMA]]
@@ -185,7 +185,7 @@ A <dfn>tool definition</dfn> is a [=struct=] with the following [=struct/items=]
185
185
186
186
Note: For tools registered imperatively, these steps will simply invoke the [=imperative
187
187
execute steps=]. For tools registered
188
-
[declaratively](https://github.com/webmachinelearning/webmcp/pull/76), this will be a set of
188
+
[declaratively](https://github.com/webmachinelearning/webmcp/blob/main/declarative-api-explainer.md), this will be a set of
189
189
"internal" steps that have not been defined yet, that describe how to fill out a <{form}> and
190
190
its [=form-associated elements=].
191
191
@@ -1247,7 +1247,7 @@ dictionary RegisteredTool {
1247
1247
1248
1248
<h3 id="declarative-api">Declarative WebMCP</h3>
1249
1249
1250
-
This section is entirely a TODO. For now, refer to the [explainer draft](https://github.com/webmachinelearning/webmcp/pull/76).
1250
+
This section is entirely a TODO. For now, refer to the [Declarative API explainer](https://github.com/webmachinelearning/webmcp/blob/main/declarative-api-explainer.md).
1251
1251
1252
1252
<div algorithm>
1253
1253
The <dfn>synthesize a declarative JSON Schema object algorithm</dfn>, given a <{form}> element
0 commit comments