Skip to content

Commit d68c303

Browse files
committed
Fix broken MDX in mcp-tool-schema-budgets.md by restoring JSX block
1 parent 05f5949 commit d68c303

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎website/docs/mcp-tool-schema-budgets.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ size="wide"
2626
narration="Two ways to pay for tool schemas. Load them eagerly and every schema sits in the fixed prefix ahead of your prompt; as the catalog grows from four schemas to forty, that block swells toward 180 of the window's 260 units and drags the prompt down toward the weak middle. Defer them and you protect the prompt, but you buy a decision: the model has to search, pick a candidate, load its schema, then call it. A near match is the expensive case — the wrong schema, the false call, and its result land in the middle and stay for the rest of the run. Deferring protects the prompt but prices discovery, so small high-frequency toolsets favor eager loading and broad catalogs favor deferred."
2727
caption={
2828
'Tool Search saves prefix tokens, but a near match can leave wrong schemas, calls, and results in the context middle.'
29-
}
30-
31-
> <MCPToolSchemaDiagram />
32-
> </DiagramFrame>
29+
}>
30+
<MCPToolSchemaDiagram />
31+
</DiagramFrame>
3332

3433
Drag the catalog control: it changes installed breadth, not what the representative task needs. The task always requires two schemas. Eager loading puts the full catalog in the fixed prefix; deferred loading exposes only schemas selected at runtime and keeps the remainder out of the request.
3534

0 commit comments

Comments
 (0)