-
CHAT_SESSION_ID
: Replaced with the chat session ID in which the tool call was made. -
CHAT_MESSAGE_ID
: Replaced with the chat message ID which triggered the tool call.
/persona/CHAT_SESSION_ID/messages/CHAT_MESSAGE_ID
with CHAT_SESSION_ID = 20
and CHAT_MESSAGE_ID = 10
would become /persona/20/messages/10
β Tips for Schema Optimization
To ensure smooth integration and performance:- Add summaries for each operation
- Use descriptive operationIds
- Add parameter descriptions
π§ Example Tool Definition
Hereβs an example of a tool schema that enables assistants to fetch and create assistants within Hymalaia:π Security Note Make sure that any external API you expose via a custom tool:
- Has proper authentication/authorization controls
- Limits the assistant to only the operations youβve defined
- Avoids exposing sensitive or destructive endpoints unintentionally