Watch the explanation. Practice the skill.

Structured outputs and bounded tools

Check structured answers before allowing a tool to run.

Visual lesson1:40

Captions appear here during playback.

Structured outputs and bounded tools

Check structured answers before allowing a tool to run.

Download transcriptOpen video file

Source-based teaching example · Fictional data · Reviewed 2026-10-03. Microsoft Mark · locally synthesized. On a small screen, use fullscreen for diagram details or read the transcript.

Read the descriptive transcript

0:00 · What you will learn

Check structured answers before allowing a tool to run.

What appears on screen

Check structured answers before allowing a tool to run.

0:06 · The idea

Validate the output’s fields and values. Then check its evidence and permission separately. Correct formatting does not establish truth or authority.

What appears on screen

Validate the output’s fields and values. Then check its evidence and permission separately. Correct formatting does not establish truth or authority.

0:18 · One useful term

Schema. A set of rules for the fields, types and values an output may contain.

What appears on screen

A set of rules for the fields, types and values an output may contain.

0:27 · A worked example

The classifier can use two training lookup tools. Requests for an unlisted tool, unknown ID or confidence above one are rejected before execution. A correctly formatted answer also fails if its required source is missing.

What appears on screen

The classifier can use two training lookup tools. Requests for an unlisted tool, unknown ID or confidence above one are rejected before execution. A correctly formatted answer also fails if its required source is missing.

0:45 · Your turn to think

Does valid JSON prove the action is allowed? Pause and decide before continuing.

What appears on screen

Does valid JSON prove the action is allowed? Pause the video if you need more time.

1:02 · Why this answer works

No. Format, source support and permission are separate checks. A generation setting cannot replace them.

What appears on screen

No. Format, source support and permission are separate checks. A generation setting cannot replace them.

1:12 · Check 1

Validate fields before execution.

What appears on screen

Validate fields before execution.

1:18 · Check 2

Check required source evidence.

What appears on screen

Check required source evidence.

1:23 · Check 3

Enforce tool and ownership limits.

What appears on screen

Enforce tool and ownership limits.

1:28 · Now try a different case

Open the lesson and try its different practice case. Use every check in the full task. Watching alone does not mark the lesson complete.

What appears on screen

Open the lesson Try the new case Check and revise The full task and its requirements are in the linked lesson.

Watching explains the example. Complete the lesson practice to check what you can do. Explore all visual lessons →