Closed as not planned
Description
Is your feature request related to a problem? Please describe.
As a llm chat client, it shoud show a prompt dialog or toast to ask for permit when a mcptool would be invoked.
Describe the solution you'd like
Add new property, type: Func<bool>
, name :PermitPredict to McpClientTool
.
InvokeMethodAsync()
{
...
if(PermitPredict!=null && PermitPredict.Invoke())
{
//execute...
}
else
{
//cancel
}
...
}
Metadata
Metadata
Assignees
Labels
No labels