ActionAnthropicUpdated June 2026

How do I use Claude with tool/function calling?

Short answer: Drop the "AnthropicCreate Message with Tools" action anywhere in your workflow, map the inputs from upstream nodes, and publish.

Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Model
model
optionsRequiredModel. Options: Claude Opus 4.7, Claude Sonnet 4.6, Claude Haiku 4.5
User Message
message
stringRequiredUser Message (required)
System Prompt
system
stringOptionalSystem Prompt
Tools
tools
arrayRequiredArray of tool defs: { name, description, input_schema: { type, properties, required } }
Tool Choice
tool_choice_type
optionsOptionalTool Choice. Options: Auto, Any, Tool (force)
Max Tokens
max_tokens
stringOptionalMax Tokens
Sample request
{
"model": "{{trigger.model}}",
"message": "{{trigger.message}}",
"system": "{{trigger.system}}",
"tools": "{{trigger.tools}}",
"tool_choice_type": "{{trigger.tool_choice_type}}"
}
Returns
{
"id": "msg_abc",
"role": "assistant",
"model": "claude-opus-4-7",
"usage": {
"input_tokens": 30,
"output_tokens": 25
},
"content": [
{
"id": "tool_abc",
"name": "get_weather",
"type": "tool_use",
"input": {
"city": "Mumbai"
}
}
],
"stop_reason": "tool_use"
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Create Message with Tools.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Create Message with Tools.

What does the Create Message with Tools action do in Anthropic?
Sends a message with tool definitions. Claude returns tool_use blocks when it wants to call a function; you execute the call and feed results back as tool_result blocks for the next turn. The foundation for agentic workflows.
What inputs does Create Message with Tools require?
Required: Model, User Message, Tools. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Anthropic returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Create Message with Tools support batch operations?
Yes. Run Create Message with Tools inside a Loop node to process arrays. Tiny Command handles Anthropic's rate limits automatically so you don't have to throttle manually.
More actions

Other Anthropic actions.

Action
Analyze Image
Sends an image to Claude for analysis (vision), via URL or base64 bytes alongside a text prompt. Use for OCR, chart extraction, accessibility alt-text, or visual QA flows.
Action
Cancel Message Batch
Cancels a message batch that is still processing. Already-completed entries in the batch keep their results; in-flight ones get cancelled with no charge.
Action
Computer Use
Sends a message with the computer-use tool, letting Claude take screenshots and click/type on a virtual desktop. Requires Opus 4.x or Sonnet 4.x; you provide the sandboxed desktop environment.
Action
Count Tokens
Counts the number of tokens a Messages API call would consume without actually sending the message. Useful for cost estimation and to stay under context-window limits.
Action
Create Message
Sends a message to a Claude model and gets a response. The core Anthropic action; supports system prompts, multi-turn conversation, temperature, and stop sequences.
Action
Create Message Batch
Creates a batch of messages for async processing on the Messages API, with a 50% cost reduction and up to 24-hour turnaround. Perfect for bulk classification, summarization, or labeling jobs.

Send create message with tools from your workflows.

Triggered by anything in the catalog. Free tier available. No credit card.