@@ -200,7 +200,7 @@ To <dfn>notify documents of a tool change</dfn> given a {{Document}} |tool owner
200200 1. If |targetDocument| is not [=allowed to use=] the "{{tools}} " feature, then
201201 [=iteration/continue=] .
202202
203- 1. If [=tool is visible to an origin=] given |tool owner|'s [=Document/origin=] , |exposed
203+ 1. If [=tool is exposed to an origin=] given |tool owner|'s [=Document/origin=] , |exposed
204204 origins|, and |targetDocument|'s [=Document/origin=] , then [=queue a global task=] on the
205205 [=webmcp task source=] given |targetDocument|'s [=relevant global object=] to [=fire an
206206 event=] named {{ModelContext/toolchange}} at |targetDocument|'s [=Document/associated
@@ -236,14 +236,14 @@ To <dfn>notify documents of a tool change</dfn> given a {{Document}} |tool owner
236236</div>
237237
238238<div algorithm>
239- To determine if a <dfn>tool is visible to an origin</dfn> given an [=origin=] |tool owner origin|,
240- a [=list=] of [=origins=] |exposed origins|, and an [=origin=] |target origin|, run these steps:
239+ To determine if a <dfn>tool is exposed to an origin</dfn> given an [=origin=] |tool owner origin|,
240+ a [=list=] of [=origins=] |exposed origins|, and an [=origin=] |accessing origin|, run these steps:
241241
242- 1. If |tool owner origin| is [=same origin=] with |target origin|, then return true.
242+ 1. If |tool owner origin| is [=same origin=] with |accessing origin|, then return true.
243243
244- 1. [=list/For each=] |origin| of |exposed origins|:
244+ 1. [=list/For each=] |allowed origin| of |exposed origins|:
245245
246- 1. If |target origin| is [=same origin=] with |origin|, then return true.
246+ 1. If |accessing origin| is [=same origin=] with |allowed origin|, then return true.
247247
2482481. Return false.
249249
0 commit comments