Armory
Source
Browse
Workflows

tool-use-programmatic-tool-calling-ptc

Reduce latency and token consumption by letting Claude write code that calls tools programmatically in the code execution environment.

Score
Unranked
Evidence
No signals yet
Last commit
Not known
Listed

Install

armory install tool-use-programmatic-tool-calling-ptc --cli claude

writes the file to.claude/commands/tool-use-programmatic-tool-calling-ptc.mdListed as compatible

Configuration
# fetches the source and writes it to:
.claude/commands/tool-use-programmatic-tool-calling-ptc.md

Needs the armory CLI · not on npm yet, build it from cli/ in the repository

What it is

Official anthropics/anthropic-cookbook workflows component — Reduce latency and token consumption by letting Claude write code that calls tools programmatically in the code execution environment.

When to use it

Reduce latency and token consumption by letting Claude write code that calls tools programmatically in the code execution environment.

How to install / invoke

Official Anthropic cookbook recipe (notebook). Open it to follow the runnable walkthrough: https://github.com/anthropics/anthropic-cookbook/blob/main/tool_use/programmatic_tool_calling_ptc.ipynb

Notes

Recipe "Programmatic tool calling (PTC)" from the anthropic-cookbook tool_use/ family (categories: Tools). License: MIT.