Tools & output contracts · Concept

Programmatic tool calling

Also called: PTC

Use model-generated code to orchestrate tool calls and process intermediate outputs.

Example

Use sandboxed code to fetch several records and return only aggregated findings.

The distinction that matters

Executing code introduces a separate security and failure-handling boundary.

Related terms

Tool calling · Sandbox · Parallel tool calls

Primary references

Reference definition