memberTools
@forge/monorepo / backend/src / memberTools
Function: memberTools()
memberTools(
input): readonlystring[]
Defined in: backend/src/teams/index.ts:211
The tools a member may use.
An intersection, never a union — #186 AC-3's second half: "a delegated agent cannot reach a tool the
delegating one could not." A member's tools narrows; it cannot widen. Enforced where the set is built rather
than checked afterwards, because a check afterwards is a check somebody can forget to call.
A member that names a tool the delegating context does not have gets it silently dropped rather than an error: the team is still runnable, and the alternative is a whole team refusing to start because one member's list mentions something a particular caller's role happens to exclude — which would make a team's usability depend on who triggered it.
Parameters
input
available
readonly string[]
What the delegating context can reach. The ceiling.
member
Returns
readonly string[]