Gere schemas JSON no formato Anthropic/OpenAI para function calling / tool use em agentes AI. Visual builder sem escrever JSON manual.
Tool calling (ou function calling) é o mecanismo que permite LLMs como Claude, GPT e Gemini executarem funções externas. O formato do schema segue o JSON Schema draft 7.
import Anthropic from '@anthropic-ai/sdk';
const client = new Anthropic();
const response = await client.messages.create({
model: 'claude-sonnet-4-5',
max_tokens: 1024,
tools: [{
name: 'get_weather',
description: '...',
input_schema: { type: 'object', properties: {...}, required: [...] }
}],
messages: [{ role: 'user', content: 'Como está o clima?' }]
});
schema, json, tool-calling, function-calling, anthropic, openai, agent