Skip to content

(Feature request) Hooks? Add additional response to a tool call #25

@Nullpo

Description

@Nullpo

Hi! I want some way to modify the response to the IA IDE client.

My use case is: Figma MCP get_code returns a React response like this:

const img = "http://localhost:9999/assets/someSvg.svg"

export function MyComponent() {

  return <img src={img} />
}

I want to add, in the response, the value of the file "http://localhost:9999/assets/someSvg.svg". So I need to:

  • Get the responses
  • Make a http call
  • Append to the response the HTTP call

There is any way to "hook" to the response and send additional info?

Thank you! This is a great project :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions