Class MockedToolCall
A mocked tool call. Expresses the target tool + a pattern to match against that tool's args / inputs. If the pattern matches, then the mock response will be returned.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1.dll
Syntax
public class MockedToolCall : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExpectedArgsPattern
Required. A pattern to match against the args / inputs of all dispatched tool calls. If the tool call inputs match this pattern, then mock output will be returned.
Declaration
[JsonProperty("expectedArgsPattern")]
public virtual IDictionary<string, object> ExpectedArgsPattern { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
MockResponse
Optional. The mock response / output to return if the tool call args / inputs match the pattern.
Declaration
[JsonProperty("mockResponse")]
public virtual IDictionary<string, object> MockResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
Tool
Optional. Deprecated. Use tool_identifier instead.
Declaration
[JsonProperty("tool")]
public virtual string Tool { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ToolId
Optional. The name of the tool to mock. Format:
projects/{project}/locations/{location}/apps/{app}/tools/{tool}
Declaration
[JsonProperty("toolId")]
public virtual string ToolId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Toolset
Optional. The toolset to mock.
Declaration
[JsonProperty("toolset")]
public virtual ToolsetTool Toolset { get; set; }
Property Value
| Type | Description |
|---|---|
| ToolsetTool |