ActionAnthropicUpdated September 2026

How do I use Claude with tool/function calling?

Short answer: You can create message with tools in Anthropic by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Anthropic Create Message with Tools action to a workflow, map its 6 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.

Create Message with Tools in Anthropic — start free
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 run history shows the failed step with its input and the error message Anthropic returned, so you can fix the input and run the workflow again. Automatic retries are built into HTTP steps only, where you can also set your own retry count and delay.
Does Create Message with Tools support batch operations?
Run Create Message with Tools inside a loop to process each item in an array. TinyCommand does not throttle calls for you, so for large arrays add a Delay step if you need to stay within Anthropic's rate limits.
More actions

Other Anthropic actions.

Create Message with Tools in Anthropic — start free