Update Single-Task Agent
lyzr_agent_update_single_taskUpdate an existing single-task agent by its ID with new configuration such as name, model, provider, and prompts.
Instructions
Update a single-task template agent by id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Agent name | |
| model | Yes | Model name, e.g. "gpt-4o" | |
| top_p | Yes | Nucleus sampling probability | |
| agent_id | Yes | Agent id to update | |
| agent_goal | No | The agent's goal | |
| agent_role | No | System/role prompt for the agent | |
| description | No | ||
| provider_id | Yes | LLM provider id, e.g. "openai" | |
| temperature | Yes | Sampling temperature | |
| extra_fields | No | Additional SingleTaskAgentConfig fields to merge into the body | |
| llm_credential_id | No | Credential id for the LLM provider | |
| agent_instructions | No | Task instructions for the agent |