Skip to content

Conversation

@bjoaquinc
Copy link
Contributor

@bjoaquinc bjoaquinc commented Oct 8, 2025

📝 Summary

This adds detailed output to the frontend tools framework mirroring the output structure of tools in the backend.

🔍 Description of Changes

  • Introduces ToolOutputBase interface and schema to align frontend tools with the backend's SuccessResult pattern from marimo/_ai/_tools/types.py.
  • Updates sample-tool to use this structure
  • Updates tests to use this structure so they won't break

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.

@vercel
Copy link

vercel bot commented Oct 8, 2025

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

Project Deployment Preview Comments Updated (UTC)
marimo-docs Error Error Oct 8, 2025 9:49pm

@mscolnick mscolnick merged commit ad3ae41 into marimo-team:main Oct 8, 2025
20 of 21 checks passed
@bjoaquinc bjoaquinc deleted the detailed-output-frontend-framework branch October 8, 2025 22:53
@dmadisetti dmadisetti added the enhancement New feature or request label Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants