TTMSMCPClientBeforeUseToolEvent Event Type
Asks whether one tool invocation requested by the model may go ahead.
API unit family: TMS.MCP.Client
Parameters
| Name | Description |
|---|---|
Sender |
Client about to invoke the tool. |
AToolName |
Name of the tool the model asked for. |
AParam |
Arguments the model supplied. The object belongs to the caller; inspect it rather than freeing it. |
AAllow |
Set to False to refuse the invocation. On entry it reflects the client's call mode: True when calls are allowed outright, False when each call has to be approved. |