mid-conversation-system-messages changedbuild-with-claude/mid-conversation-system-messages
Nearest release: v2.1.281, 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+39added
Lines−45removed
From line
533
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits11to this page, all time
The whole hunk
from line 533, old and new numbered
/
from line 533
533533 }'
534534 ```
535535
536 <MultiFileExample language="cli" label="CLI">
537 ```bash CLI
538 ant beta:messages create --beta inline-tools-2026-09-15 < request.yaml
539 ```
540
541 <File filename="request.yaml">
542 ```yaml
543 model: claude-opus-5-5
544 max_tokens: 1024
545 # Keep at least one non-deferred tool in `tools`, so a tool defined
546 # later doesn't change the start of the rendered prompt.
547 tools:
548 - name: get_weather
549 description: Get the current weather for a location.
550 input_schema:
551 type: object
552 properties:
553 location:
554 type: string
555 description: City name
556 required:
557 - location
558 messages:
559 - role: user
560 content: How many orders shipped yesterday?
561 # Define db_query by value from this point onward. `tools` and the
562 # earlier messages stay exactly as sent, so the cache still hits.
563 - role: system
564 content:
565 - type: tool_addition
566 tool:
567 type: tool_definition
568 definition:
569 name: db_query
570 description: Run a read-only SQL query against the analytics database.
571 input_schema:
572 type: object
573 properties:
574 sql:
575 type: string
576 required:
577 - sql
578 ```
579 </File>
580 </MultiFileExample>
536 ```bash CLI
537 ant beta:messages create --beta inline-tools-2026-09-15 <<'YAML'
538 model: claude-opus-5-5
539 max_tokens: 1024
540 # Keep at least one non-deferred tool in `tools`, so a tool defined
541 # later doesn't change the start of the rendered prompt.
542 tools:
543 - name: get_weather
544 description: Get the current weather for a location.
545 input_schema:
546 type: object
547 properties:
548 location:
549 type: string
550 description: City name
551 required:
552 - location
553 messages:
554 - role: user
555 content: How many orders shipped yesterday?
556 # Define db_query by value from this point onward. `tools` and the
557 # earlier messages stay exactly as sent, so the cache still hits.
558 - role: system
559 content:
560 - type: tool_addition
561 tool:
562 type: tool_definition
563 definition:
564 name: db_query
565 description: Run a read-only SQL query against the analytics database.
566 input_schema:
567 type: object
568 properties:
569 sql:
570 type: string
571 required:
572 - sql
573 YAML
574 ```
581575
582576 ```python Python
583577 client = anthropic.Anthropic()
No line in this hunk matches that.