MCPconceptAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MCP: API Reference

mcp.tools.error.ToolError.into_error_data

This type appears in public signatures. It is not a package entry point.

#[must_use] pub fn into_error_data(self) -> ErrorData

Recover the underlying ErrorData.

Description#

For the one caller that reports a nested tool's own failure inside a batch item rather than as this tool's failure (crate::TmuxTools::call_read_tools_batch), and for a test that calls a tool directly and inspects the classification a wire client would otherwise read from isError content.

Esc

Type to search.

Reference previewOpen reference