Skip to content

Interface: BeforeCallResult

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / BeforeCallResult

Defined in: src/types/tool.ts:210

Result from onBeforeCall hook indicating whether to proceed and optionally transformed params.

optional params: unknown

Defined in: src/types/tool.ts:214

Transformed parameters to use instead of the original (optional)


proceed: boolean

Defined in: src/types/tool.ts:212

Whether to proceed with tool execution