McpServerToolApprovalResponseContent class
A user's response to an MCP server tool approval request.
This is an experimental feature.
- Inheritance
-
- Object
- AIContent
- UserInputResponseContent
- McpServerToolApprovalResponseContent
Constructors
- McpServerToolApprovalResponseContent({required String id, required bool approved, Object? rawRepresentation, AdditionalPropertiesDictionary? additionalProperties})
- Creates a new McpServerToolApprovalResponseContent.
Properties
- additionalProperties ↔ AdditionalPropertiesDictionary?
-
Additional properties.
getter/setter pairinherited
- approved → bool
-
Whether the tool call was approved.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique identifier matching the corresponding request.
finalinherited
- rawRepresentation ↔ Object?
-
The underlying implementation-specific representation of this content.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited