using changedcli-sdks-libraries/cli/using
Nearest release: v2.1.317, published 2 hours 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+7added
Lines−6removed
From line
148
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits16to this page, all time
The whole hunk
from line 148, old and new numbered
/
from line 148
148148ant files upload --file ./report.pdf
149149```
150150
151To inline a file’s contents into a string-valued field, prefix the path with `@`:
151To inline a file’s contents into a string-valued field of a stdin document, prefix the path with `@` and wrap it in quotes:
152152
153153```bash
154154ant beta:agents create \
155 --name "Researcher" --model '{id: claude-opus-5-5}' \
156 --system @./prompts/researcher.txt
155 --name "Researcher" --model '{id: claude-opus-5-5}' <<'YAML'
156system: "@./prompts/researcher.txt"
157YAML
157158```
158159
159Inside structured flag values, wrap the path in quotes. To send a PDF to the Messages API:
160Structured flag values work the same way. To send a PDF to the Messages API:
160161
161162```bash
162163ant messages create \
No line in this hunk matches that.