Build tool definitions for LLMs β OpenAI, Anthropic, generic JSON Schema
{
"type": "function",
"function": {
"name": "get_weather",
"description": "...",
"parameters": {}
}
}
{
"name": "get_weather",
"description": "...",
"input_schema": {}
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
}