Update agent
/agent/{id}Updates an existing agent's configuration
Path parameters
idstringrequiredAgent ID
Body parameters
namestringrequiredAgent name
descriptionstringoptionalAgent description
promptsstring[]requiredArray of prompt IDs to use for this agent
toolsstring[]optionalArray of MCP server tool IDs to use for this agent
workflowsstring[]optionalArray of workflow IDs to expose as tools for this agent
tagsstring[]optionalTags for categorizing the agent
provideroneOfrequiredFHIR provider ID(s) for this agent. Required. In shared/experiment environments, the default sandbox provider is used if a different provider is not explicitly specified.
Agent updated successfully
Response fields
successbooleanoptionalmessagestringoptionaldataobjectoptionalidstringoptionalAgent ID
namestringoptionalAgent name
descriptionstringoptionalAgent description
promptsstring[]optionalArray of prompt IDs used by this agent
toolsstring[]optionalArray of MCP server tool IDs used by this agent
workflowsstring[]optionalArray of workflow IDs exposed as tools by this agent
tagsstring[]optionalTags for categorizing the agent
provideroneOfoptionalFHIR provider ID(s) - must be valid UUIDs from existing FHIR providers