overview changedagents-and-tools/tool-use/overview
Recorded here
Lines+3added
Lines−3removed
From line
144
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits25to this page, all time
The whole hunk
from line 144, old and new numbered
/
from line 144
144144
145145<CodeGroup exclude="shell:cURL, shell:CLI">
146146 <CodeGroupItem language="cURL">
147 This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it.
147 This workflow needs more logic than a single shell command. Use the [Anthropic SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it.
148148 </CodeGroupItem>
149149
150150 <CodeGroupItem language="CLI">
151 This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it.
151 This workflow needs more logic than a single shell command. Use the [Anthropic SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it.
152152 </CodeGroupItem>
153153
154154 ```python Python
from line 786
786786
787787These token counts are added to your normal input and output tokens to calculate the total cost of a request.
788788
789See the [Models overview](https://platform.claude.com/docs/en/models/overview#latest-models-comparison) table for current per-model prices.
789See the [All models](https://platform.claude.com/docs/en/models/overview#all-models) table for current per-model prices.
790790
791791When you send a tool use prompt, like any other API request, the response includes both input and output token counts in the reported `usage` metrics.
792792
No line in this hunk matches that.