Execution

Render a prompt

Renders a prompt with arguments and returns the MCP GetPromptResult directly (description?, messages).

post/projects/{projectId}/servers/{serverId}/prompts/get

Path parameters

projectIdstring required

ID of the hosted project that contains the server.

serverIdstring required

ID of the server inside the project.

Request body

promptNamestring required

Prompt name, exactly as returned by the prompts list.

argumentsobject

Prompt arguments. String, number, and boolean values.

Response

The MCP GetPromptResult.

descriptionstring

Changes

Changed in 2 of the 71 revisions of this API.91

    • added the new CONFLICT enum value to the code response property for the response status 400

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 401

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 403

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 404

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 422

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 429

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 500

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 502

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 504

      response-property-enum-value-added

    • endpoint added

      endpoint-added