SecureBaseModel
Class Attributes
| Attribute | Type | Default |
|---|---|---|
action | Literal['tool-call'] | 'tool-call' |
title | str | None | Field(None, description='A human-readabl... |
description | str | None | Field(None, description='A human-readabl... |
name | str | Field(description='The programmatic name... |
input | dict[str, Any] | None | Field(description='The input for the too... |
server | ToolCallServer | None | Field(None, description='The server exec... |
Methods
staticmethod from_mcp_tool
staticmethod from_mcp_tool
Parameters
Returns:
| Name | Type | Default |
|---|---|---|
tool | Tool | — |
input | dict[str, Any] | None | — |
server | Implementation | None | None |
'ToolCallApprovalRequest'