Blocks within anthropic

List of all the block within the anthropic group. If you're running an older core version, there may be groups listed here that are not available to you (yet).

get batch anthropicconnection v15.0.0 Poll a batch by id. Fires `ended` and returns all results (text/usage/cost per custom_id) once processing finishes. code execution tool anthropictool v15.0.0 Let Claude run Python in a sandbox (data analysis, math, charts); Anthropic-hosted. Wire the tool output into a message block's tools pin. count tokens anthropicconnection v15.0.0 Count the input tokens a prompt (with system + attachments) would use, and estimate the cost; before you send it. Free; no spend. build tool anthropictool 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. summarize memory anthropicconnection v15.0.0 Compact a memory: fold the older turns into a running summary and trim the history, so a long conversation stays cheap and in-context while keeping its gist. Run it periodically. send message anthropicconnection v15.0.0 Send a message to Claude and get the reply, with built-in cost guard, model allowlist and typed error reporting. classify anthropicconnection v15.0.0 Classify input into exactly one of your labels using Claude; route the resulting label with a switch block. create batch anthropicconnection v15.0.0 Submit many prompts as one asynchronous batch at 50% of the standard price (results within 24h). Wire on_finished/on_item to be called automatically when the batch completes (the system polls in the background), or poll the batch_id yourself with the get batch block. memory tool anthropictool v15.0.0 Let Claude manage its own long-term memory notes (read, write, search) for the wired memory. Drop into a message block's tools pin; use the toggles to limit what it may do. memory from json anthropicmemory v15.0.0 Cast a raw {id, guid} object into a memory handle for a send message block; for passing a memory handle you already have. preflight document anthropicconnection v15.0.0 Convert a document (PDF, image, HTML, spreadsheet, text) to clean Markdown with a cheap model, stripping boilerplate; run before sending it to an expensive model to cut tokens. tool switch anthropictool v15.0.0 Pick a tool by matching an expression against case values (with an optional default). Wire the result into a message block's tools pin. parse json (repair) condition v15.0.0 Recover and parse JSON from messy text (code fences, prose, trailing commas, truncation). No API call. preflight documents anthropicconnection v15.0.0 Convert several documents to clean Markdown with a cheap model, in parallel. Returns one .md file per input plus the concatenated Markdown; run before sending an upload set to an expensive model. get usage condition v15.0.0 Report total tokens and cost used on this connection (USD and the connection's currency), with a per-category breakdown. tool from json anthropictool 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. tool if anthropictool v15.0.0 Pick a tool based on a condition: outputs the true tool when the condition holds, otherwise the false tool. Add elseif branches for more cases. create memory condition v15.0.0 Open (or create) a persistent memory by id. The same id returns the same memory across runs, so Claude can pick a conversation back up weeks later. Feed the memory into a send message block. get memory condition v15.0.0 Read a memory's contents by id (conversation history, memory files, summary) without creating one. stream message anthropicconnection v15.0.0 Send a prompt to Claude and stream the reply token-by-token to a WebSocket channel as it generates, then return the full text. multiple anthropictool v15.0.0 Combine several tools into one connection for a message block's tools pin. build output template anthropicschema v15.0.0 Pick the fields Claude should return and describe each one; produces an output template for a Claude block's output template. Each field's type comes from the field itself; per field you set a description and (optionally) the allowed options. No JSON Schema knowledge needed. list memories condition v15.0.0 List all memories (id, timestamps, expiry, turn count) for browsing or housekeeping. open connection condition v15.0.0 Create a connection to the Anthropic (Claude) API for use by Claude blocks. delete memory condition v15.0.0 Delete a memory by id (forget the conversation and its files). output template from json anthropicschema v15.0.0 Cast a raw JSON Schema object into an output template for a message block (or a tool's parameters); for full control beyond the build output template block. web search tool anthropictool v15.0.0 Let Claude search the web (Anthropic-hosted). Wire the tool output into a message block's tools pin. Optionally cap uses or restrict domains.
Back to anthropic Return to the main group to view all sub-groups