Claude

App · AI Models · 19 actions

Ask Claude, Anthropic's AI assistant, to write, summarize or answer, read documents and pictures, or hand tasks to your Claude agents.

Actions

ActionWhat it does
Analyze a documentAsk Claude a question about a PDF or text document, such as a contract, report or invoice, and get its answer.
Analyze an imageAsk Claude a question about a picture, such as a photo, a screenshot or a scanned form, and get its answer.
Ask ClaudeAsk Claude to write, summarize or answer something, and get its reply.
Ask Claude many questions at onceSend a list of questions to Claude in one batch, at half the usual price.
Cancel a batch of questionsStop a batch of questions.
Count a prompt's tokensCount how many tokens a prompt takes for a Claude model, to check its size or cost before asking.
Delete a batch of questionsDelete a batch of questions that has ended, and its answers, for good.
Delete an uploaded fileDelete a file stored with Claude for good.
Get a batch's answersWait for Claude to finish a batch of questions, then get its answers in the order the questions were asked.
Get a batch's progressSee how far Claude has got with a batch of questions: how many are answered, still waiting or failed, and whether it has ended.
Get an uploaded file's detailsGet the name, type, size and upload date of a file stored with Claude.
List batches of questionsList the batches of questions sent to Claude, newest first.
List Claude modelsList the Claude models your account can use, newest first, with the ID to give a step's Model field.
List uploaded filesList the files stored with Claude, newest first.
Set up an agentCreate a Claude agent with your instructions, or update the one that already has this name.
Set up an environmentCreate the place a Claude agent works, and choose what it can reach on the internet, or update the environment that already has this name.
Start an agentHand a task to a Claude agent, one made with 'Set up an agent' or in the Claude Console, and optionally a GitHub repository it can change and push branches to.
Upload a fileStore a document or picture with Claude, so 'Analyze a document' and 'Analyze an image' can read it by its ID as often as you like without sending it again.
Wait for an agent's replyWait until a Claude agent has finished its task, then get its reply.

Analyze a document

Ask Claude a question about a PDF or text document, such as a contract, report or invoice, and get its answer.

Inputs

DocumentdocumenttextRequired
The document to read: upload a file, pick one an earlier step produced, paste a link to one, or give the ID of a file uploaded to Claude with 'Upload a file'. PDFs (up to 24 MB and 600 pages) and plain text files work.
QuestionquestiontextRequired
What you want to know about the document, or what to do with it, such as 'List every deadline in this contract'.
Modelmodeltext
Which Claude model to use. Defaults to claude-opus-5-5.One of: claude-opus-5-5 (Claude Opus 5.5 (recommended)), claude-fable-5-1 (Claude Fable 5.1 (most capable, expensive)), claude-sonnet-5-5 (Claude Sonnet 5.5), claude-haiku-5-5 (Claude Haiku 5.5 (fastest, lowest cost)). Default: claude-opus-5-5.
Maximum response lengthmax_tokensnumber
Maximum number of tokens Claude may use for its thinking and its answer. Raise it if answers come back cut short. Leave blank to use the default (16000).Default: 16000.

Outputs

modeltext
The Claude model that answered.
response_texttext
Claude's answer.
Example output
{
  "model": "claude-opus-5-5",
  "response_text": "The contract has two deadlines: the first payment is due on 1 March and the work must be finished by 30 June."
}

Analyze an image

Ask Claude a question about a picture, such as a photo, a screenshot or a scanned form, and get its answer.

Inputs

ImageimagetextRequired
The picture to look at: upload a file, pick one an earlier step produced, paste a link to one, or give the ID of a file uploaded to Claude with 'Upload a file'. PNG, JPEG, WebP or GIF; other formats and large pictures are converted and scaled down.
QuestionquestiontextRequired
What you want to know about the picture, such as 'What is the total on this receipt?'.
Modelmodeltext
Which Claude model to use. Defaults to claude-opus-5-5.One of: claude-opus-5-5 (Claude Opus 5.5 (recommended)), claude-fable-5-1 (Claude Fable 5.1 (most capable, expensive)), claude-sonnet-5-5 (Claude Sonnet 5.5), claude-haiku-5-5 (Claude Haiku 5.5 (fastest, lowest cost)). Default: claude-opus-5-5.
Maximum response lengthmax_tokensnumber
Maximum number of tokens Claude may use for its thinking and its answer. Raise it if answers come back cut short. Leave blank to use the default (16000).Default: 16000.

Outputs

modeltext
The Claude model that answered.
response_texttext
Claude's answer.
Example output
{
  "model": "claude-opus-5-5",
  "response_text": "The receipt's total is $42.50, paid by card."
}

Ask Claude

Ask Claude to write, summarize or answer something, and get its reply.

Inputs

PromptprompttextRequired
The message or question to send to Claude.
Instructionssystem_prompttext
Standing instructions Claude follows for every answer, such as its role, tone, rules or background it should know. Keep what changes from run to run in the message: long instructions that stay the same are cached, so runs within a few minutes of each other cost less.
Modelmodeltext
Which Claude model to use. Defaults to claude-opus-4-8.One of: claude-opus-4-8 (Claude Opus 4.8 (recommended)), claude-fable-5 (Claude Fable 5 (most capable, expensive)), claude-sonnet-5 (Claude Sonnet 5), claude-haiku-4-5 (Claude Haiku 4.5 (fastest, lowest cost)). Default: claude-opus-4-8.
Maximum response lengthmax_tokensnumber
Maximum number of tokens Claude may generate in its response. Raise it for longer replies. Leave blank to use the default (4096).Default: 4096.
Think before answeringthinkingtext
How hard Claude thinks before it answers. More thinking gives better answers to hard questions, but takes longer and uses more API credits. Thinking counts towards the maximum response length, so raise that if answers come back cut short. A summary of what Claude thought comes back with the answer.One of: default (Leave it to the model), low (A little), medium (Some), high (A lot), max (As much as it needs (slowest, most expensive)). Default: default.

Outputs

cache_read_tokensnumber
Tokens of the instructions read from the cache, at a tenth of the usual price.
cache_write_tokensnumber
Tokens of the instructions written to the cache for the next runs.
modeltext
response_texttext
statustext
thinkingtext
A summary of what Claude thought before answering; empty when it didn't think or the model doesn't share it.
Example output
{
  "cache_read_tokens": 0,
  "cache_write_tokens": 0,
  "model": "claude-opus-4-8",
  "response_text": "Here is a thoughtful response to your question about artificial intelligence and its applications in modern software development.",
  "status": "success",
  "thinking": ""
}

Ask Claude many questions at once

Send a list of questions to Claude in one batch, at half the usual price. Claude answers them within 24 hours, usually much sooner: follow with 'Get a batch's progress' and 'Get a batch's answers'.

Inputs

QuestionsquestionstextRequired
The questions or prompts, each answered on its own: a list from an earlier step, or text with one question per line. Up to 10,000.
Instructionsinstructionstext
Optional guidance Claude follows for every question, such as the tone to use or what to leave out.
Modelmodeltext
Which Claude model to use. Defaults to claude-opus-5-5.One of: claude-opus-5-5 (Claude Opus 5.5 (recommended)), claude-fable-5-1 (Claude Fable 5.1 (most capable, expensive)), claude-sonnet-5-5 (Claude Sonnet 5.5), claude-haiku-5-5 (Claude Haiku 5.5 (fastest, lowest cost)). Default: claude-opus-5-5.
Maximum response lengthmax_tokensnumber
Maximum number of tokens Claude may use for each answer. Leave blank to use the default (4096).From 1 to 128000.

Outputs

answerednumber
Questions Claude answered.
batch_idtext
The batch's ID (starts with msgbatch_).
cancelednumber
Questions dropped because the batch was canceled.
created_attext
When the batch was sent (ISO 8601).
ended_attext
When it ended (ISO 8601), or empty while it runs.
expirednumber
Questions not reached within 24 hours.
expires_attext
When unanswered questions expire (ISO 8601), 24 hours after it was sent.
failednumber
Questions Claude couldn't answer.
question_countnumber
How many questions were sent.
statustext
'in_progress' while Claude works through it, 'canceling' while it stops, and 'ended' once every question is done.
waitingnumber
Questions not answered yet.
Example output
{
  "answered": 0,
  "batch_id": "msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d",
  "canceled": 0,
  "created_at": "2026-11-30T09:00:00Z",
  "ended_at": null,
  "expired": 0,
  "expires_at": "2026-12-01T09:00:00Z",
  "failed": 0,
  "question_count": 3,
  "status": "in_progress",
  "waiting": 3
}

Cancel a batch of questions

Stop a batch of questions. Questions Claude hasn't answered yet are dropped and not charged; answers already given are kept.

Inputs

Batchbatch_idtextRequired
The batch of questions' ID (it starts with msgbatch_), such as one 'Ask Claude many questions at once' returned.

Outputs

answerednumber
Questions Claude answered.
batch_idtext
The batch's ID (starts with msgbatch_).
cancelednumber
Questions dropped because the batch was canceled.
created_attext
When the batch was sent (ISO 8601).
ended_attext
When it ended (ISO 8601), or empty while it runs.
expirednumber
Questions not reached within 24 hours.
expires_attext
When unanswered questions expire (ISO 8601), 24 hours after it was sent.
failednumber
Questions Claude couldn't answer.
statustext
'in_progress' while Claude works through it, 'canceling' while it stops, and 'ended' once every question is done.
waitingnumber
Questions not answered yet.
Example output
{
  "answered": 0,
  "batch_id": "msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d",
  "canceled": 0,
  "created_at": "2026-11-30T09:00:00Z",
  "ended_at": null,
  "expired": 0,
  "expires_at": "2026-12-01T09:00:00Z",
  "failed": 0,
  "status": "canceling",
  "waiting": 3
}

Count a prompt's tokens

Count how many tokens a prompt takes for a Claude model, to check its size or cost before asking. Counting is free.

Inputs

PromptprompttextRequired
The text you would send to Claude.
Instructionsinstructionstext
Optional instructions you would send with it; they are counted too.
Modelmodeltext
Which Claude model to use. Defaults to claude-opus-5-5.One of: claude-opus-5-5 (Claude Opus 5.5 (recommended)), claude-fable-5-1 (Claude Fable 5.1 (most capable, expensive)), claude-sonnet-5-5 (Claude Sonnet 5.5), claude-haiku-5-5 (Claude Haiku 5.5 (fastest, lowest cost)). Default: claude-opus-5-5.

Outputs

input_tokensnumber
How many tokens the prompt takes.
modeltext
The model it was counted for.
Example output
{
  "input_tokens": 42,
  "model": "claude-opus-5-5"
}

Delete a batch of questions

Delete a batch of questions that has ended, and its answers, for good. A batch still running must be canceled first.

Inputs

Batchbatch_idtextRequired
The batch of questions' ID (it starts with msgbatch_), such as one 'Ask Claude many questions at once' returned.

Outputs

batch_idtext
The ID of the deleted batch.
deletedtrue/false
Always true: the batch is gone.
Example output
{
  "batch_id": "msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d",
  "deleted": true
}

Delete an uploaded file

Delete a file stored with Claude for good. Steps that read it by its ID stop working.

Inputs

Filefile_idtextRequired
The file stored with Claude: pick it, or give its ID (it starts with file_), such as one 'Upload a file' returned.

Outputs

deletedtrue/false
Always true: the file is gone.
file_idtext
The ID of the deleted file.
Example output
{
  "deleted": true,
  "file_id": "file_011CNha8iCJcU1wXNR6q4V8w"
}

Get a batch's answers

Wait for Claude to finish a batch of questions, then get its answers in the order the questions were asked. The step checks back every minute; a batch always ends within 24 hours.

Inputs

Batchbatch_idtextRequired
The batch of questions' ID (it starts with msgbatch_), such as one 'Ask Claude many questions at once' returned.

Outputs

answerednumber
How many of them Claude answered.
answerslist
One entry per question, in asking order.
batch_idtext
The batch's ID.
countnumber
How many questions the batch held.
response_textslist
Just the answers, in asking order.
Example output
{
  "answered": 1,
  "answers": [
    {
      "error": "",
      "question_number": 1,
      "response_text": "Thanks so much for the kind review!",
      "status": "succeeded"
    }
  ],
  "batch_id": "msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d",
  "count": 1,
  "response_texts": [
    "Thanks so much for the kind review!"
  ]
}

Get a batch's progress

See how far Claude has got with a batch of questions: how many are answered, still waiting or failed, and whether it has ended.

Inputs

Batchbatch_idtextRequired
The batch of questions' ID (it starts with msgbatch_), such as one 'Ask Claude many questions at once' returned.

Outputs

answerednumber
Questions Claude answered.
batch_idtext
The batch's ID (starts with msgbatch_).
cancelednumber
Questions dropped because the batch was canceled.
created_attext
When the batch was sent (ISO 8601).
ended_attext
When it ended (ISO 8601), or empty while it runs.
expirednumber
Questions not reached within 24 hours.
expires_attext
When unanswered questions expire (ISO 8601), 24 hours after it was sent.
failednumber
Questions Claude couldn't answer.
statustext
'in_progress' while Claude works through it, 'canceling' while it stops, and 'ended' once every question is done.
waitingnumber
Questions not answered yet.
Example output
{
  "answered": 0,
  "batch_id": "msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d",
  "canceled": 0,
  "created_at": "2026-11-30T09:00:00Z",
  "ended_at": null,
  "expired": 0,
  "expires_at": "2026-12-01T09:00:00Z",
  "failed": 0,
  "status": "in_progress",
  "waiting": 3
}

Get an uploaded file's details

Get the name, type, size and upload date of a file stored with Claude.

Inputs

Filefile_idtextRequired
The file stored with Claude: pick it, or give its ID (it starts with file_), such as one 'Upload a file' returned.

Outputs

created_attext
When the file was uploaded (ISO 8601).
file_idtext
The file's ID (starts with file_). Give it to 'Analyze a document' or 'Analyze an image' to read the file.
filenametext
The file's name.
mime_typetext
The kind of file, such as application/pdf.
size_bytesnumber
The file's size in bytes.
Example output
{
  "created_at": "2026-11-09T10:15:00Z",
  "file_id": "file_011CNha8iCJcU1wXNR6q4V8w",
  "filename": "contract.pdf",
  "mime_type": "application/pdf",
  "size_bytes": 482133
}

List batches of questions

List the batches of questions sent to Claude, newest first.

Inputs

Limitlimitnumber
The most batches to list. Leave blank for 20.From 1 to 1000.

Outputs

batcheslist
The batches, newest first.
has_moretrue/false
Whether there are more batches than listed.
Example output
{
  "batches": [
    {
      "answered": 0,
      "batch_id": "msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d",
      "canceled": 0,
      "created_at": "2026-11-30T09:00:00Z",
      "ended_at": null,
      "expired": 0,
      "expires_at": "2026-12-01T09:00:00Z",
      "failed": 0,
      "status": "in_progress",
      "waiting": 3
    }
  ],
  "has_more": false
}

List Claude models

List the Claude models your account can use, newest first, with the ID to give a step's Model field.

Inputs

Limitlimitnumber
The most models to list. Leave blank for 100.From 1 to 1000.

Outputs

has_moretrue/false
Whether there are more models than listed.
model_idslist
Every model's ID, in the same order.
modelslist
The models, newest first.
Example output
{
  "has_more": false,
  "model_ids": [
    "claude-opus-5-5"
  ],
  "models": [
    {
      "model_id": "claude-opus-5-5",
      "name": "Claude Opus 5.5",
      "released_at": "2026-10-20T00:00:00Z"
    }
  ]
}

List uploaded files

List the files stored with Claude, newest first.

Inputs

Limitlimitnumber
The most files to list. Leave blank for 100.From 1 to 1000.

Outputs

fileslist
The files, newest first.
has_moretrue/false
Whether there are more files than listed.
Example output
{
  "files": [
    {
      "created_at": "2026-11-09T10:15:00Z",
      "file_id": "file_011CNha8iCJcU1wXNR6q4V8w",
      "filename": "contract.pdf",
      "mime_type": "application/pdf",
      "size_bytes": 482133
    }
  ],
  "has_more": false
}

Set up an agent

Create a Claude agent with your instructions, or update the one that already has this name. Give it tasks with 'Start an agent'.

Inputs

NamenametextRequired
What to call the agent, such as 'Website fixer'. Running this step again with the same name updates that agent instead of making another.
InstructionsinstructionstextRequired
The standing instructions it follows on every task: what it's for, how to work and what it must never do.
Modelmodeltext
Which Claude model the agent runs on.One of: claude-opus-5-5 (Claude Opus 5.5 (recommended)), claude-fable-5-1 (Claude Fable 5.1 (most capable, expensive)), claude-sonnet-5-5 (Claude Sonnet 5.5), claude-haiku-5-5 (Claude Haiku 5.5 (fastest, lowest cost)). Default: claude-opus-5-5.
Can search and read the webweb_accesstrue/false
Let the agent search the web and read pages. Its environment must also let it reach those sites.Default: false.

Outputs

agent_idtext
The agent's ID (starts with agent_). Give it to 'Start an agent'.
createdtrue/false
True when this step made the agent, false when it updated one that already had the name.
nametext
The agent's name.
versionnumber
Its version, which goes up each time its settings change.
Example output
{
  "agent_id": "agent_011CZxAbc123Def456",
  "created": true,
  "name": "Website fixer",
  "version": 1
}

Set up an environment

Create the place a Claude agent works, and choose what it can reach on the internet, or update the environment that already has this name.

Inputs

NamenametextRequired
What to call the environment, such as 'Website work'. Running this step again with the same name updates it.
Internet accessinternet_accesstext
What the agent can reach on the internet.One of: packages (Package installs only (recommended)), sites (Package installs and the websites I list), everything (The whole internet). Default: packages.
Websiteswebsitestext
The websites it may reach, separated by commas, such as api.github.com. Write *.example.com for every address under a site.Only when Internet access is Package installs and the websites I list.

Outputs

createdtrue/false
True when this step made the environment, false when it updated one that already had the name.
environment_idtext
The environment's ID (starts with env_). Give it to 'Start an agent'.
nametext
The environment's name.
Example output
{
  "created": true,
  "environment_id": "env_011CZxAbc123Def456",
  "name": "Website work"
}

Start an agent

Hand a task to a Claude agent, one made with 'Set up an agent' or in the Claude Console, and optionally a GitHub repository it can change and push branches to. It works on its own in Anthropic's cloud, so follow this step with 'Wait for an agent's reply' to get its answer.

Inputs

AgentagenttextRequired
The agent to give the task to.
EnvironmentenvironmenttextRequired
Where the agent works: the environment sets what it can install and which websites it can reach.
TasktasktextRequired
What you want the agent to do, written as you would to a colleague. Say what a good result looks like.
GitHub repositoryrepositorytext
A repository the agent can read, change and push branches to, written as owner/name. It uses your connected GitHub account, which needs Contents set to Read and write. Leave empty for a task that needs no code.

Outputs

session_idtext
The ID of the agent's session (starts with sesn_). Give it to 'Wait for a Claude agent's reply'.
session_statustext
Whether the agent is running yet.
Example output
{
  "session_id": "sesn_011CZxAbc123Def456",
  "session_status": "running"
}

Upload a file

Store a document or picture with Claude, so 'Analyze a document' and 'Analyze an image' can read it by its ID as often as you like without sending it again.

Inputs

FilefiletextRequired
The file to store: upload one, pick one an earlier step produced, or paste a link to one. Up to 100 MB.

Outputs

created_attext
When the file was uploaded (ISO 8601).
file_idtext
The file's ID (starts with file_). Give it to 'Analyze a document' or 'Analyze an image' to read the file.
filenametext
The file's name.
mime_typetext
The kind of file, such as application/pdf.
size_bytesnumber
The file's size in bytes.
Example output
{
  "created_at": "2026-11-09T10:15:00Z",
  "file_id": "file_011CNha8iCJcU1wXNR6q4V8w",
  "filename": "contract.pdf",
  "mime_type": "application/pdf",
  "size_bytes": 482133
}

Wait for an agent's reply

Wait until a Claude agent has finished its task, then get its reply. If the agent asks permission to use a tool, this step declines, as nobody is there to approve it.

Inputs

Agent sessionsession_idtextRequired
The session ID from 'Start an agent' (starts with sesn_).
Wait at most (minutes)max_wait_minutesnumber
Fail if the agent is still working this long after it started. Defaults to 60.From 1 to 1440.

Outputs

replytext
The agent's last message, or empty if it finished without writing one.
session_idtext
The ID of the agent's session.
session_statustext
Always finished: the agent is done.
Example output
{
  "reply": "I checked all 12 links on the page. Two are broken.",
  "session_id": "sesn_011CZxAbc123Def456",
  "session_status": "finished"
}

On this page