HostFillFromCredential
Interface: HostFillFromCredential
Defined in: src/tools/hostFilled.ts:50
Fill from the call's resolved credential (ctx.credential).
Properties
from
readonlyfrom:"credential"
Defined in: src/tools/hostFilled.ts:51
mode?
readonlyoptionalmode?:"user"|"machine"
Defined in: src/tools/hostFilled.ts:56
read?
readonlyoptionalread?: (credential) =>string
Defined in: src/tools/hostFilled.ts:58
Credential → argument value. Default: a bearer's token, an API key's key.
Parameters
credential
Credential
Returns
string
scopes?
readonlyoptionalscopes?: readonlystring[]
Defined in: src/tools/hostFilled.ts:55
Scopes / mode for the needs this fill declares (ignored when the tool has its own).
service?
readonlyoptionalservice?:string
Defined in: src/tools/hostFilled.ts:53
The service (needs.credential) — required when the tool declares no needs.
