-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Force returning tool result/ressource as artifact without regeneration #509
Copy link
Copy link
Open
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 supportedneeds decisionIssue is actionable, needs maintainer decision on whether to implementIssue is actionable, needs maintainer decision on whether to implement
Metadata
Metadata
Assignees
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 supportedneeds decisionIssue is actionable, needs maintainer decision on whether to implementIssue is actionable, needs maintainer decision on whether to implement
Type
Fields
Give feedbackNo fields configured for issues without a type.
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:
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:
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