tool from json

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

tool from json v15.0.0

Cast a raw JSON object into a tool for a message block's tools pin; for full control beyond the build tool block.

In pins 1
  • json required
    object

    The raw tool definition (e.g. {name, description, schema, function} for a custom tool, or {type, config} for a server tool).

Out pins 1
  • tool
    anthropictool

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

raw tool
custom tool json
tool cast

A typical wiring for tool from JSON: new object feeds the json pin; the tool out pin feeds send message.

Studio canvas example for the tool from JSON block: typical wiring for tool from JSON.

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