build tool

This block is part of the anthropic group and was last modified in core v15.0.0.

Function Selection Required

This block requires you to choose a custom function to execute when triggered. You must manually select the function you want to use using the function selector modal. To access the modal, click the white button on the block.

build tool v15.0.0

Define a tool Claude can call and pick the function that runs it. The function receives the model's arguments as in-pins and returns the result back to Claude. Feed the output into a message block's tools pin.

In pins 3
  • name required
    value

    Tool name (snake_case), e.g. get_weather. Claude uses it to decide when to call the tool.

  • description
    value

    What the tool does and when to use it. The clearer this is, the better Claude calls it.

  • parameters
    anthropicschema

    The shape of the tool's arguments. Build it with the 'build output template' block. Omit for a no-argument tool.

Out pins 1
  • tool
    anthropictool

    The tool definition; wire into a message block's tools pin.

tool
skill
function call
claude tool
agent tool
define tool

A typical wiring for build tool: value feeds the name pin; the tool out pin feeds send message.

Studio canvas example for the build tool block: typical wiring for build tool.

Version history

Introduced in v15.0.0.


Back to anthropic Return to the main group to view all sub-groups Back to anthropic Return to the group to view all blocks within this group