

WARNING: The Custom Agent API currently does not support custom agents that use a foundational model with advanced research and reasoning enabled.
NOTE: You can manage the tools only in the UI by enabling or disabling them. They can not be managed via the API.See Web Search Tool, Research Tool, and Compute Tool to learn more about tools.

agent
parameter to call it via API.
WARNING: Files attached to a Custom Agent are not accessible when the agent is invoked via the API.