Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Force returning tool result/ressource as artifact without regeneration #509

Copy link
Copy link
@maxschulz-COL

Description

@maxschulz-COL
Issue body actions

Is your feature request related to a problem? Please describe.
The problem I am facing is that I am currently creating an MCP server that through tools creates artifacts (python code, html code)

There is no problem in the model receiving the outcome, but when it presents it in the chat, it essentially regenerates it which causes the following problems:

  • slight alterations
  • token usage
  • speed

Describe the solution you'd like
I would like to be able to enforce the direct return of the tool/ressource.

If using Claude desktop, I would like to even return the output as an artifact, but that is of course specific to anthropic/Claude

Examples:

  • Tool creates a custom URL, Ideally this becomes visible in chat as is, quickly and without alteration
  • Tool creates Python code, ideally this is just visible as is in the chat OR even claude artifacts

Describe alternatives you've considered
I have tried to prompt/describe my tools to enforce this, but this did not work

Additional context
I am not sure if this is the correct place to ask, but would be very keen to discuss this as I can imagine it is a common problem?

I can also help refine the problem statement a bit more if that's of interest

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Moderate issues affecting some users, edge cases, potentially valuable featureModerate issues affecting some users, edge cases, potentially valuable featureenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedready for workEnough information for someone to start working onEnough information for someone to start working on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.