withToolNotFoundPolicy

Override the tool-not-found recovery policy for this interaction. When not set, the system default from configuration is used.

Return

PromptRunner instance with the specified policy

Parameters

policy

the policy to use

See also

AutoCorrectionPolicy
ImmediateThrowPolicy