Log at info level changedagents-and-tools/tool-use/tool-runner
Nearest release: v2.1.275, published an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+10added
Lines−5removed
From line
438
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits23to this page, all time
The whole hunk
from line 438, old and new numbered
/
from line 438
438438 <?php
439439
440440 use Anthropic\Client;
441 use Anthropic\Beta\Messages\BetaTextBlock;
442 use Anthropic\Beta\Messages\BetaToolUseBlock;
441443 use Anthropic\Lib\Tools\BetaRunnableTool;
442444 use Anthropic\Messages\Model;
443445
from line 497
495497
496498 foreach ($runner as $message) {
497499 foreach ($message->content as $block) {
498 if ($block->type === 'text') {
499 echo $block->text, "\n";
500 } elseif ($block->type === 'tool_use') {
501 echo "[Tool call: {$block->name}]\n";
500 switch (true) {
501 case $block instanceof BetaTextBlock:
502 echo $block->text, "\n";
503 break;
504 case $block instanceof BetaToolUseBlock:
505 echo "[Tool call: {$block->name}]\n";
506 break;
502507 }
503508 }
504509 }
from line 1456
14511456 foreach ($runner as $message) {
14521457 $toolResults = [];
14531458 foreach ($message->content as $block) {
1454 if ($block instanceof BetaToolUseBlock) {
1459 if ($block instanceof \Anthropic\Beta\Messages\BetaToolUseBlock) {
14551460 $toolResults[] = [
14561461 'type' => 'tool_result',
14571462 'tool_use_id' => $block->id,
No line in this hunk matches that.