Skip to content

toolCallHosts

toolCallHosts(args): string[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/toolHost.ts:84

Every distinct host named anywhere in a tool call’s arguments, in the order first seen.

Own enumerable properties only, so nothing inherited can contribute a host, and arrays are walked as their elements. This is what the approvals decision reads, because it needs the COUNT: a call naming no host and a call naming several are the same absent host and not the same grant.

unknown

string[]