Skip to content

feat: tool call updates carry a title and custom data in every SDK - #2168

Merged
tschellenbach merged 2 commits into
mainfrom
feat/tool-call-display-title-clients
Nov 20, 2026
Merged

tschellenbach merged 2 commits into
mainfrom
feat/tool-call-display-title-clients

Conversation

@tschellenbach

Copy link
Copy Markdown
Member
  • A tool call's title is its latest update while it runs, then its display title, then the tool's name (JavaScript toolCallTitle, Kotlin/Swift/Dart ToolCallState.title).
  • Every server SDK sends an update as a title shortcut or a full update with custom data (Go, JavaScript, Python, .NET, Ruby, Rust, PHP). The router keeps custom on the call's state, replaced whole and kept after it finishes; an update with only custom is not spoken. The client SDKs read custom.
  • Go reads greeting: <text> in agent.yaml as a variation; a mapping without mode is a variation too.

Tested: router agent/session/api/dispatch/node/conversation, Go, JS, Python, .NET, Ruby, Rust, PHP, Kotlin, Swift and Dart suites.

Made with Cursor

tschellenbach and others added 2 commits November 20, 2026 10:45
Co-authored-by: Cursor <cursoragent@cursor.com>
A tool call's title is its latest update while it runs, then its
display title, then the tool's name. Every server SDK sends an update
as a title shortcut or a full update with custom data; the router keeps
custom on the call's state, replaced whole and kept after it finishes,
and an update with only custom is not spoken. The client SDKs read the
title and custom.

Co-authored-by: Cursor <cursoragent@cursor.com>
@tschellenbach
tschellenbach merged commit 9c30106 into main Nov 20, 2026
22 of 23 checks passed
@tschellenbach
tschellenbach deleted the feat/tool-call-display-title-clients branch November 20, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant