Theia API Documentation v1.69.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/ai-chat-ui
chat-response-renderer/tool-confirmation
ToolConfirmationProps
Interface ToolConfirmationProps
interface
ToolConfirmationProps
{
contextMenuRenderer
:
ContextMenuRenderer
;
onAllow
:
(
scope
?:
ConfirmationScope
)
=>
void
;
onDeny
:
(
scope
?:
ConfirmationScope
,
reason
?:
string
)
=>
void
;
response
:
ToolCallChatResponseContent
;
toolRequest
?:
ToolRequest
<
ToolInvocationContext
>
;
}
Hierarchy
Pick
<
ToolConfirmationCallbacks
,
"toolRequest"
>
ToolConfirmationProps
Index
Properties
context
Menu
Renderer
on
Allow
on
Deny
response
tool
Request?
Properties
context
Menu
Renderer
contextMenuRenderer
:
ContextMenuRenderer
on
Allow
onAllow
:
(
scope
?:
ConfirmationScope
)
=>
void
on
Deny
onDeny
:
(
scope
?:
ConfirmationScope
,
reason
?:
string
)
=>
void
response
response
:
ToolCallChatResponseContent
Optional
tool
Request
toolRequest
?:
ToolRequest
<
ToolInvocationContext
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
context
Menu
Renderer
on
Allow
on
Deny
response
tool
Request
Eclipse Theia Website
GitHub
Theia API Documentation v1.69.0
Loading...