JSON Toolbox Blog

For AI developers JSON notes

Schema · Structured Output · Function Calling · MCP · local tooling in practice

Featured

After OpenAI Agents API added context compaction on 31 October 2026, does Function Calling JSON Schema still stay in context for long sessions?

Compaction shrinks history; it does not replace tools JSON Schema.

Published 2026-11-02About 11 minAI Agent

Analysis

After Claude API raised the Messages request limit to 128 MB on 28 October 2026, do agents still need to split inline JSON Schema?

As of 2026-10-30: on 2026-10-28 the first-party Claude API raised Messages and Token Counting request limits from 32 MB to 128 MB. Bytes …

Published 2026-10-30

Read the article →
Analysis

After Claude on Google Cloud (Anthropic managed) launched on 22 October 2026, can structured-output JSON Schema still live in output_config?

As of 2026-10-26: Claude on Google Cloud (Anthropic managed) shipped 2026-10-22. JSON Schema stays in output_config.format. Swap Base URL…

Published 2026-10-26

Read the article →
Analysis

After OpenAI Decisions API reached GA on 22 October 2026, should agent ticket routing use input_json or JSON Schema?

As of 2026-10-24: OpenAI marked the Decisions API GA on 2026-10-22. Evidence goes in user-message input_json; answers live in the answers…

Published 2026-10-24

Read the article →
Analysis

After Claude API switched to 2026-10-21 on 21 October 2026, which layer of output_config holds the structured-output JSON Schema?

The contract sits in output_config.format.schema. Sending output_format or temperature still returns 400.

Published 2026-10-22

Read the article →
Analysis

After Bedrock opened Claude structured outputs on 20 October 2026, which text block holds the Haiku 5.5 JSON?

Read stop_reason first. After end_turn, take the text block. minimum is outside the subset and returns 400.

Published 2026-10-21

Read the article →
Analysis

After the 13 October 2026 general release, how do you validate Gemini 4 Argon function arguments apart from the final JSON?

arguments is the tool input. output_text is the final JSON. requires_action is not the answer yet.

Published 2026-10-20

Read the article →
Analysis

After the 9 October 2026 launch, how does a Claude workflow_run event show the job is done?

created lists phases. status_ended carries result. completed can still hide a failed thread.

Published 2026-10-13

Read the article →
Analysis

Claude Haiku 5.5: high-volume routing still needs a local JSON check

Bedrock has no Structured Outputs. strict needs additionalProperties: false. A reply can start with an empty thinking block.

Published 2026-10-12

Read the article →
Analysis

Claude mid-conversation tools: put input_schema in the message, leave the tools array alone

Editing tools drops the whole cache. The new contract sits in tool_addition. The MCP URL stays on mcp_servers. Pin the list with mcp_tool_listing.

Published 2026-10-09

Read the article →
Analysis

ChatGPT MCP Events: how does an event become one JSON object?

inputSchema filters the subscription. payloadSchema constrains data. Delivery is a signed webhook. HTTP 2xx means accepted.

Published 2026-10-08

Read the article →
Analysis

Google API Gateway: how does REST become an MCP tool?

The gateway only transcodes OpenAPI 3.x. tools/list is unauthenticated by default. Miss body, and the backend never sees the fields.

Published 2026-09-30

Read the article →
Analysis

Gemini 3.8 Flash: why do agents depend more on Function Calling and Structured Output?

The tool loop got longer, and the final reply has a Schema too. Live API is not on this card. If ids do not match, the result never comes back.

Published 2026-09-29

Read the article →
Analysis

After Claude leads 26% of R&D, how do agents exchange structured JSON?

Thirty thousand agents delegate to one another. Official guidance: treat the other agent's output as a claim. If the handoff fails Schema, the next agent should not reach.

Published 2026-09-29

Read the article →
Analysis

Google Home MCP Server: how ChatGPT and Claude control lights with JSON

Home MCP exposes five tools. The host only handles OAuth. If run_home_actions args fail Schema, the light should not move.

Published 2026-09-28

Read the article →
Analysis

Google Zero-Trust AI Agent: why every tool call still needs JSON validation

Zero-trust judges intent. Schema judges shape. A legal object can still refund the wrong SKU. A missing field should never reach the engine.

Published 2026-09-25

Read the article →
Analysis

Google Antigravity Agent in September: files, code, and search results as JSON

antigravity-preview-09-2026 defaults to Gemini 3.8 Flash. File edits are line-range patches. Search is grep_search. If args fail Schema, do not reach.

Published 2026-09-24

Read the article →
Tutorial

Gemini 3.8 Live Function Calling: split args, match the id, return the tool result

Pull toolCall.functionCalls from a Live session, validate args, then build FunctionResponse with the same id. Missing fields or a string treated as an object: do not reach.

Published 2026-09-23

Read the article →
Analysis

Gemini 3.8 Live: how a realtime voice agent turns speech into a JSON tool call

gemini-3.8-live defaults to async function calling and does not support Structured Output. Audio enters the session; a toolCall object comes out. Do not execute until Schema says yes.

Published 2026-09-22

Read the article →
Compare

Agents API vs MCP: where do tool calling and JSON Schema actually sit?

Not a fork in the road. The harness runs the loop. MCP is one connection in tools. Functions come back to you; MCP calls are made for you. Both share one Schema.

Published 2026-09-21

Read the article →
Analysis

After the OpenAI Agents API, why do AI agents need JSON even more?

The 2026-09-10 public beta folded the Codex harness into a hosted session. You no longer own the loop. session, required_actions, and tool_result still need a contract you can validate.

Published 2026-09-20

Read the article →
Security

AI agent security: how malicious MCP servers and fake skills attack coding agents

The attack surface has moved from prompts to the tool bus and the Skill directory. This article unpacks malicious MCP servers, fake Skill handbooks, and how JSON Schema writes permissions as a contract you can validate.

Published 2026-09-18

Read the article →
Compare

Agent Skills vs MCP vs API: How should an AI agent choose tools?

A Skill is a handbook. MCP is the tool bus. Function Calling / API is the direct contract. Split SKILL.md, MCP servers, and JSON Tool Schema.

Published 2026-09-17

Read the article →
Guide

How do AI coding agents read and edit JSON config files?

Claude Code, Codex, and Cursor Read first, then patch with exact strings. Workflows, strict JSON vs JSONC, and merging arrays.

Published 2026-09-16

Read the article →
Guide

What is an AI Data Agent? How ChatGPT handles JSON, CSV, and automatic analysis

Uploading a file is only the entry. Split ChatGPT sandbox analysis and Work’s @Data, and how JSON / CSV enter the automatic analysis loop.

Published 2026-09-14

Read the article →
Trends

Why AI Coding Agents Need Skills

From i-have-adhd and diagram-design to agentskills.io: how SKILL.md loads on demand, and the boundary with Rules / MCP.

Published 2026-09-11

Read the article →
Analysis

Why do ChatGPT, Gemini, and Siri AI all need structured data?

Surfaces differ; the contract is a structured object. JSON, JSON Schema, the agent loop — plus one sample all three can line up on.

Published 2026-09-10

Read the article →
Analysis

What is Apple Intelligence? A full breakdown of Siri AI, AI agents, JSON, and structured data

Siri AI acts through an App Intents Schema. Foundation Models’ @Generable compiles to JSON Schema. The agent still hands over an object.

Published 2026-09-09

Read the article →
Analysis

How much does it cost to train an AI model? GPU, data center, power, tokens, and AI compute cost explained

How GPU-hours, data centers, power, tokens, and inference add up — and what 7B / 70B / 405B / flagship each cost.

Published 2026-09-08

Read the article →
Analysis

What is AI Structured Output? Why have GPT, Gemini, and Claude all started supporting structured JSON output?

Structured Output is not “please return JSON.” Constrained decoding, and why GPT, Gemini, and Claude pushed Schema into the API.

Published 2026-09-07

Read the article →
Analysis

Why do ChatGPT, Claude, and Gemini all love JSON?

Three vendors wrap the API differently; the contract layer is JSON Schema. Structured Output, Function Calling, and MCP.

Published 2026-09-05

Read the article →
Comparison

Which model is strongest in 2026? Pick by task, not by slogan

There is no single strongest model. Split GPT-5.6 / GPT-6 Astra, Claude Fable 5.1, Gemini 3.8 Flash, Grok 4.6, and Llama 4 by task.

Published 2026-09-04

Read the article →
Analysis

When will Gemini 4 be released? Confirmed facts and release-date predictions

Google has not announced a date. Pre-training was confirmed 2026-07-21. Official wording, the 3.x cadence, and Schema you can lock in now.

Published 2026-09-03

Read the article →
Trends

After OpenAI DevDay 2026, what changes for Agent development?

Responses API, Programmatic Tool Calling, MCP, and the Agents SDK are already shipping. Direct vs programmatic paths, and validatable JSON.

Published 2026-09-02

Read the article →
Analysis

What is Gemini 3.5 Transcribe? JSON output and timestamps

Two APIs, WordInfo JSON, word-level timestamps, speaker diarization — and why not to mix native STT with Structured Output.

Published 2026-08-28

Read the article →
Guide

How to generate a Structured Output Schema from a JSON sample

Infer a Schema from real JSON. Lock types, required, and additionalProperties, then compare OpenAI, Claude, and Gemini wrappers.

Published 2026-08-20

Read the article →

Want to try it?

Go back to the Workbench, paste JSON or load a sample, and generate a Schema, run a Diff, or write Function Calling.

Open the Workbench →