Get a single AI agent
get_agent.RdRetrieve the configuration of a specific AI agent by its agent ID.
Usage
get_agent(
agent_id,
plugin_id = get_agents_plugin_id(),
verbose = FALSE,
auth = get_default_auth()
)Arguments
- agent_id
Character. The unique identifier of the agent.
- plugin_id
Character. The Agents plugin identifier. Defaults to
get_agents_plugin_id().- verbose
Logical. Print detailed request information? Default
FALSE.- auth
A
mattermost_authobject. Defaults toget_default_auth().
Value
A named list representing the agent, with fields such as id,
bot_user_id, display_name, instructions,
model, enable_vision, disable_tools,
reasoning_enabled, reasoning_effort,
thinking_budget, and structured_output_enabled.