h2oGPTe icon

h2oGPTe

h2oGPTe is an AI-powered search assistant for your internal teams to answer questions gleaned from large volumes of documents, websites and workplace content.

Actions198

Overview

This node operation allows users to create or update their agent tool preference within the system. It is useful in scenarios where a user wants to specify or modify which tool the agent should prefer or use by default. For example, if an internal AI assistant supports multiple tools or integrations, this operation lets the user set their preferred tool configuration, ensuring that interactions or automated tasks utilize the correct tool according to user preference.

Properties

Name Meaning
Reference Value A required string value representing the reference identifier or setting for the agent tool preference.

Output

The output of this operation will be the full HTTP response from the API call that creates or updates the agent tool preference. The json field in the output will contain the response data from the server, typically confirming the updated preference details or status. There is no indication that binary data is returned by this operation.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The base URL for API requests is configured dynamically based on the provided credentials.
  • The node sends a POST request to the /agents/tool_preference endpoint with JSON content type.

Troubleshooting

  • Common issues:
    • Missing or invalid API key credential can cause authentication failures.
    • Providing an empty or invalid "Reference Value" will likely result in a validation error.
    • Network connectivity issues may prevent successful API calls.
  • Error messages:
    • Authentication errors indicating missing or invalid credentials require checking the API key setup.
    • Validation errors about the "reference_value" indicate that the input must be a non-empty string.
    • Timeout or connection errors suggest network problems or incorrect base URL configuration.

Links and References

  • Refer to the external API documentation for the /agents/tool_preference endpoint for detailed information on accepted values and response structure.
  • Consult your platform's API key management guide to ensure proper credential configuration.

Discussion