mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-13 16:51:10 +00:00
bf674a47d9
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
8 lines
604 B
Markdown
8 lines
604 B
Markdown
---
|
|
"@gitbook/browser-types": patch
|
|
"@gitbook/embed": patch
|
|
"gitbook": patch
|
|
---
|
|
|
|
Add an optional `context` property (string, up to 512 characters) to the `confirmation` of custom AI tools, shown above the confirmation dialog to help the user understand what they are approving or rejecting. The `confirmation` can now also be a function that receives the AI-provided input and returns the confirmation, so the context can be derived dynamically from the arguments the tool is about to run with. Available both to integrations (`GitBookIntegrationTool`) and to embed consumers (`GitBookToolDefinition`).
|