Skip to main content

AgentProfile

A reusable persona with model configuration, tools and metadata describing when it should be selected.

See Profile selection and versioning for profile resolution and fragment versions.

Usage profiles​

UsageFields and validation
In requestsView fields
In responsesView fields

In requests​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
profileIdstringOptionalStable id, unique within the project library.
namestringOptionalDisplay name used when selecting an agent profile.
descriptionstringOptionalHuman-facing summary.
whenToUsestringOptionalRouting hint, Skill-style "use when…"
keywordsArray of stringOptionalKeywords associated with discovery or selection of the agent profile.
enabledbooleanOptional; explicit presenceWhether the profile is enabled for selection. Omission during creation defaults to true; an explicitly false value creates a disabled profile.
generationConfigGenerationConfigOptional--- the bundle (reused as-is: model, system_prompt, temperature, …) --- Model, sampling, and tool configuration used for generation.
mcpServersArray of MCPServerReferenceOptional--- the tool bundle for this profile --- Drives per-profile MCP tool discovery; replaces the conversation-wide ConversationSettings.mcp_servers for turns where this profile is active.
variableSpecsArray of PromptVariableSpecOptionalVariables consumed by the profile’s system-prompt template, rendered from the conversation’s prompt_variables.
versioninteger (int32)OptionalOutput-only immutable revision of the profile. Versions start at one and increase on successful mutations; values supplied on writes are ignored. Minimum: -2147483648. Maximum: 2147483647.
disableDefaultToolsbooleanOptionalExclude the default MCP tool catalog from this profile’s effective server set. When true, only the profile’s configured MCP servers are used.

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
profileIdstringOptionalStable id, unique within the project library.
namestringOptionalDisplay name used when selecting an agent profile.
descriptionstringOptionalHuman-facing summary.
whenToUsestringOptionalRouting hint, Skill-style "use when…"
keywordsArray of stringOptionalKeywords associated with discovery or selection of the agent profile.
enabledbooleanOptional; explicit presenceWhether the profile is enabled for selection. Omission during creation defaults to true; an explicitly false value creates a disabled profile.
generationConfigGenerationConfigOptional--- the bundle (reused as-is: model, system_prompt, temperature, …) --- Model, sampling, and tool configuration used for generation.
mcpServersArray of MCPServerReferenceOptional--- the tool bundle for this profile --- Drives per-profile MCP tool discovery; replaces the conversation-wide ConversationSettings.mcp_servers for turns where this profile is active.
variableSpecsArray of PromptVariableSpecOptionalVariables consumed by the profile’s system-prompt template, rendered from the conversation’s prompt_variables.
versioninteger (int32)OptionalOutput-only immutable revision of the profile. Versions start at one and increase on successful mutations; values supplied on writes are ignored. Minimum: -2147483648. Maximum: 2147483647.
disableDefaultToolsbooleanOptionalExclude the default MCP tool catalog from this profile’s effective server set. When true, only the profile’s configured MCP servers are used.

Where used​

ReferenceRelationship
Create an agent profilePOST /api/v1/agent-profiles/create
Update an agent profilePOST /api/v1/agent-profiles/update
Get an agent profilePOST /api/v1/agent-profiles/get
Import a prompt libraryPOST /api/v1/agent-profiles/import
List agent profilesPOST /api/v1/agent-profiles/list

Download the public reference contract.

Document: DOC-API-MODEL-agent-profile.