Skip to content
ActionAnthropicUpdated May 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.

Send create message with tools from your workflows.

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