Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Advisor tool result from a prior assistant turn, replayed back to the model on the next turn. Mirrors the block Anthropic returns in assistant content when the advisor_20260301 tool runs.

Example Usage

import { MessagesAdvisorToolResultBlock } from "@openrouter/sdk/models";

let value: MessagesAdvisorToolResultBlock = {
  content: {
    "text": "Advisor response text",
    "type": "advisor_result",
  },
  toolUseId: "srvtoolu_01abc",
  type: "advisor_tool_result",
};

Fields

FieldTypeRequiredDescription
contentRecord<string, *any*>:heavy_check_mark:N/A
toolUseIdstring:heavy_check_mark:N/A
type”advisor_tool_result”:heavy_check_mark:N/A