Interface: BeforeCallResult
@providerprotocol/ai / @providerprotocol/ai / BeforeCallResult
Interface: BeforeCallResult
Section titled “Interface: BeforeCallResult”Defined in: src/types/tool.ts:210
Result from onBeforeCall hook indicating whether to proceed and optionally transformed params.
Properties
Section titled “Properties”params?
Section titled “params?”
optionalparams:unknown
Defined in: src/types/tool.ts:214
Transformed parameters to use instead of the original (optional)
proceed
Section titled “proceed”proceed:
boolean
Defined in: src/types/tool.ts:212
Whether to proceed with tool execution