Updating a Provider Prompt
When you identify edge cases in the LLM’s adherence to a prompt, or when you need to introduce a new required parameter (argument) to a workflow programmatically, you can patch the prompt directly.Using REST API
The API Endpoint
PATCH /providers/{providerId}/prompts/{id}
Structuring the Patch Request
Generate a JSON object conforming to theUpdateProviderPromptRequest payload. Due to HasMCP’s patch methodology, you only map the internal top-level keys inside the prompt object that demand modification.
Example Request
200 OK. All active server associations traversing to this provider prompt instantly consume the updated instruction set without requiring restarts.