Back to components

AI Interfaces

Tool Retry Policy

A transparent retry sequence showing failures, backoff timing, and stop conditions.

toolsretryreliability

Installation

Copy and paste the code into your project.

Accessibility notes

An ordered list preserves attempt sequence and every failure and delay is readable text.

Retry policy

Webhook delivery

Backoff
  1. 1

    Attempt 1

    Timeout

    +0s
  2. 2

    Attempt 2

    Rate limited

    +1s
  3. 3

    Attempt 3

    Scheduled

    +4s

Exponential backoff · stop after 4 attempts

Preview accent

TypeScript
const attempts = [{ label: "Attempt 1", result: "Timeout", delay: "0s" }, { label: "Attempt 2", result: "Rate limited", delay: "1s" }, { label: "Attempt 3", result: "Scheduled", delay: "4s" }];
export function ToolRetryPolicy() { return <ol>{attempts.map((attempt) => <li key={attempt.label}>{attempt.label} · {attempt.result} · {attempt.delay}</li>)}</ol>; }
Usage
<ToolRetryPolicy />

Related components

MCP server

Product knowledge

Connected
Transport
Streamable HTTP
Round trip
84ms
  • Search docs
  • Read resources
  • Run tools

AI Interfaces

MCP Connection Card

Intermediate

A connection summary for MCP servers with transport health, latency, and available capabilities.

mcpconnectiontools
View component

Resilience route

Response fallback chain

Healthy
  1. 1

    Primary · v3

    Default

    Ready
  2. 2

    Fallback · v2-mini

    Timeout > 2s

    Standby
  3. 3

    Cached response

    Providers unavailable

    Last resort

Requests preserve the same output schema across every route.

AI Interfaces

Model Fallback Route

Intermediate

A resilience chain showing primary, fallback, and cached response routes with activation conditions.

modelsfallbackreliability
View component

Agent activity

3 tool calls

live
  1. 1

    search_docs

    design system tokens

    128ms
  2. 2

    read_file

    components/card.tsx

    42ms
  3. …

    write_patch

    3 changes proposed

    running

AI Interfaces

Tool Call Inspector

Intermediate

A live execution trace for agent tools, file operations, and long-running tasks.

agenttoolsobservability
View component