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.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

MCP: API reference

MCP API glossary

What MCP tool annotations tell clients about a tool. Select an annotation or full API badge to open its definition here.

The signature and entry documentation describe the API’s behavior, including its calling conventions, storage and runtime checks.

MCP tool annotations

These are server-supplied hints, not enforced guarantees. Clients must not base tool-use decisions on annotations from untrusted servers.

readOnlyHint

True indicates that the tool leaves its environment unchanged.

Defaults to false when omitted.

References: MCP ToolAnnotations .

destructiveHint

True indicates potentially destructive changes; false indicates additive changes only.

Defaults to true. Meaningful only when readOnlyHint is false.

References: MCP ToolAnnotations .

idempotentHint

True indicates that repeating a call with identical arguments adds no further effects.

Defaults to false. Meaningful only when readOnlyHint is false. It does not promise identical responses.

References: MCP ToolAnnotations .

openWorldHint

True indicates possible interaction with external entities; false indicates a closed interaction domain.

Defaults to true. This describes the interaction domain, not whether the tool writes data.

References: MCP ToolAnnotations .

title

A display title for the tool.

The tool’s top-level title takes precedence, followed by annotations.title, then name.

References: MCP ToolAnnotations .

Symbol kinds

Kinds identify declarations in the Go API reference.

struct

A named Go type shown under the struct badge in this reference.

The underlying type can be a struct, string, function or another Go type. Its declaration determines fields, call syntax and conversion rules.

References: Go type definitions .

function

A Go function declared at package scope with parameters and result values.

References: Go function declarations .

method

A Go function with a receiver parameter associating it with a defined type.

A pointer receiver and a value receiver have different method sets; follow the displayed signature.

References: Go method declarations .

attribute

A Go struct field or package variable in this reference, including exported error values.

References: Go variable declarations .

constant

A Go constant value. Typed and untyped constants follow the type and representability rules at their use site.

References: Go constants .

Package context

Package labels identify where an API is supplied.

package

The Go module supplying this API. Its importable packages have paths and names distinct from the module dependency identity.

References: Go modules and packages .

Glossary JSON

Esc
Search in

Type to search.

Reference previewOpen reference