Reference documentation and code samples for the Google Cloud Ces V1 Client class UnmatchedToolCallBehavior.
What to do when a tool call doesn't match any mocked tool calls.
Protobuf type google.cloud.ces.v1.MockConfig.UnmatchedToolCallBehavior
Namespace
Google \ Cloud \ Ces \ V1 \ MockConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED
Value: 0Default value. This value is unused.
Generated from protobuf enum UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED = 0;
FAIL
Value: 1Throw an error for any tool calls that don't match a mock expected input pattern.
Generated from protobuf enum FAIL = 1;
PASS_THROUGH
Value: 2For unmatched tool calls, pass the tool call through to real tool.
Generated from protobuf enum PASS_THROUGH = 2;