Skip to content

feat(attributes): Add schema for gen_ai.tool.call.result - #794

Merged
alexander-alderman-webb merged 5 commits into
mainfrom
webb/tool-call-result-spec
Nov 13, 2026
Merged

alexander-alderman-webb merged 5 commits into
mainfrom
webb/tool-call-result-spec

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

The intention here is that SDKs do a JSON-compatible serialization of the values returned from the local function, similar to what occurs for local variables, etc .

The JSON schema in the OpenAPI definition is technically correct, since an omitted type field allows all JSON.

The generated types are more permissive than any valid JSON, but everything ends up JSON compatible from SDKs if there's a sensible serializer are the core of the SDK.

@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-conventions Ready Ready Preview Nov 13, 2026 8:46am UTC

Request Review

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Add schema for gen_ai.tool.call.result by alexander-alderman-webb in #794
  • Add schema for gen_ai.system_instructions by alexander-alderman-webb in #791
  • Add TypeScript type generation from OpenAPI schemas by alexander-alderman-webb in #771
  • Add Python type generation from OpenAPI schemas by alexander-alderman-webb in #769
  • Add schema for gen_ai.tool.definitions by alexander-alderman-webb in #767

Other

  • (model) Add Elixir runtime metrics by solnic in #768

Bug Fixes 🐛

  • (attributes) Describe pageload links for cache_origin and server_request by s1gr1d in #789

Internal Changes 🔧

  • (attributes) Prevent splicing system messages out of gen_ai.input.messages by alexander-alderman-webb in #790
  • (codeowners) Move gen_ai attribute ownership to agent-tracing by shellmayr in #792

🤖 This preview updates automatically when you update the PR.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

andreiborza
andreiborza previously approved these changes Nov 11, 2026

@andreiborza andreiborza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nifty

@andreiborza
andreiborza dismissed their stale review November 11, 2026 14:20

Removed the approval because bugbot is right, we need to widen this type.

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as draft November 11, 2026 14:32

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 703a490. Configure here.

@alexander-alderman-webb
alexander-alderman-webb merged commit a8eb023 into main Nov 13, 2026
18 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/tool-call-result-spec branch November 13, 2026 08:50

This branch was successfully deployed

1 active deployment
Preview — f96d9fa5 Deployed Nov 13, 2026 by vercel[bot]
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.

2 participants