Skip to content

feat: add support for AbortSignal in tool execute function - #5

Open
beaufortfrancois wants to merge 1 commit into
mainfrom
execute-signal
Open

feat: add support for AbortSignal in tool execute function#5
beaufortfrancois wants to merge 1 commit into
mainfrom
execute-signal

Conversation

@beaufortfrancois

Copy link
Copy Markdown
Collaborator

Starting in Chrome 153.0.8009.0, the execute function for tools registered via document.modelContext.registerTool() always receives signal as its second argument, changing the signature to execute(inputObject, { signal }). You can find the full technical details in Issue 48 and PR #247.

@beaufortfrancois
beaufortfrancois requested a review from sdras August 18, 2026 11:01
@beaufortfrancois

Copy link
Copy Markdown
Collaborator Author

FYI @Kulikowski @andreban

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant