Straico Official icon

Straico Official

Get data from Straico API

Agent → Update

AI-generated

Overview

This node operation updates the details of an existing agent in the Straico platform. It is useful for scenarios where you need to modify agent attributes such as name, custom prompt, default language model, description, or tags. For example, you might update an agent's description to reflect new capabilities or change its default LLM to a more advanced model.

Use Case Examples

  1. Updating an agent's name and description to better reflect its purpose.
  2. Changing the default LLM used by the agent to improve response quality.
  3. Adding or modifying tags to categorize the agent for easier management.

Properties

Name Meaning
Agent ID The unique identifier of the agent to update, e.g., agent_123456789.
Name The new name for the agent.
Custom Prompt A custom prompt string that defines the agent's behavior or personality.
Default LLM The default language model to be used by the agent.
Description A textual description of the agent's purpose or characteristics.
Tags A JSON array of tags to categorize or label the agent, e.g., ["assistant","rag"].

Output

JSON

  • id - The unique identifier of the updated agent.
  • name - The updated name of the agent.
  • custom_prompt - The updated custom prompt of the agent.
  • default_llm - The updated default language model of the agent.
  • description - The updated description of the agent.
  • tags - The updated tags array of the agent.

Dependencies

  • Straico API with an API key credential for authentication

Troubleshooting

  • Ensure the Agent ID is correctly provided and exists in the Straico platform to avoid 'agent not found' errors.
  • Verify that the tags input is a valid JSON array string to prevent parsing errors.
  • Check network connectivity and API authentication credentials if requests fail.

Discussion