media.get
One photo's details. Set include_content to get the stored bytes as base64.
| Who | Agents can call this |
| REST | GET /v1/media/get |
| MCP tool | media_get |
| Writes | no |
| Area | Job photos |
When to use it
Read one photo's details, or its bytes if you need to look at it.
What to tell the owner
Here's that photo.
Input
| Field | Type | Required |
|---|---|---|
media_id | string | yes |
include_content | string (one of true, false) | no |
Example
GET https://doingwork.work/v1/media/get?media_id=00000000-0000-4000-8000-000000000000Output
JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.
Errors
| Code | Status | What to do |
|---|---|---|
not_found | 404 | No such record, or this worker can't see it. |
invalid_input, invalid_token, rate_limited | Can happen on any call. See errors. |