Skip to content

Conversation

ln-12
Copy link
Contributor

@ln-12 ln-12 commented Aug 28, 2025

This pull request adds a copy button to each element in the JsonView component. Fixes #658.

image

Motivation and Context

As explained in #658 it feels a bit cumbersome to copy values from the JsonView component, especially if the string takes up multiple lines.

How Has This Been Tested?

I tested different JSON responses with my changes and copied the value.

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally (actually no, the same tests as on the main branch are failing)
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

No

@ln-12 ln-12 changed the title Added copy functionality to JsonView component Add copy functionality to JsonView component Aug 28, 2025
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.

Multiline strings in JSON are hard to copy from the tool result field
1 participant