Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token
The type of the web tool.
FUNCTION, MCP "FUNCTION"
The name of the web tool.
1 - 250"Weather API Tool"
Server configuration settings for the web tool.
A description of what the web tool does.
1 - 1000"A tool that fetches current weather information for a given location."
Whether the tool should run asynchronously. Required when type is FUNCTION, not allowed when type is MCP.
true
Array of message configurations for the web tool. Each message type must be unique.
[
{
"type": "system",
"content": "You are a helpful weather assistant."
}
]Parameter schema definition for the web tool. Not allowed when type is MCP. This field is a recursive OpenAPI-style shape with 'type', 'properties', 'required', 'items', ...etc. Please refer to the OpenAPI specification for more information.
{
"type": "object",
"properties": {
"test": {
"type": "number",
"description": "Hello world from Hamsa AI!"
}
},
"required": ["test"]
}