LibTmux.Mcp.ServerInstructions
.NET
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET
- C++ Unavailable
- Swift Unavailable
-
What the client is told this server is for, before any tool is called.
A tool description says what one tool does. These instructions say when this server is the right one at all, which is the question a model answers first and cannot answer from a tool list. They carry the two things a tool description has no room for: what must never route here, and which of two overlapping tools to reach for.
The budget is real. Instructions are sent on every connection and sit in context for the whole conversation, so a paragraph added here is paid for by every call that follows.
Members
- Compose ( policy : ServerPolicy , callerPaneId : string? ) string
-
Composes the instructions for a running server.
- Parameters
-
-
policy ( ServerPolicy ) – What this server will do.
-
callerPaneId ( string? ) – The pane this server runs in, when it runs in one.
-
- Returns
-
The instructions.
- Raises
-
-
InvalidOperationException – The fixed guidance no longer fits the budget. That is a bug in this file rather than a condition to degrade around: silently dropping a segment would leave a model without the rule it was dropped from.
-