Agents
Add Custom Agent Tools
Add Custom Agent Tools
post/agents/custom_tools
Request
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"tool_args": "{\"tool_name\": \"my_tool\", \"description\": \"My custom tool\", \"enable_by_default\": true}"
}Response
Custom agent tool created successfully
Changes
No recorded changes to this operation across all 1 revision of this API.