Documentation
¶
Overview ¶
Package adapter defines the protocol-agnostic Adapter interface and the registry used to select the correct adapter at runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface {
// Parse accepts the raw bytes of a tool-list response (e.g. MCP
// tools/list JSON) and returns the normalised tool representations.
Parse(ctx context.Context, data []byte) ([]model.UnifiedTool, error)
// Protocol returns the ProtocolType this adapter handles.
Protocol() model.ProtocolType
}
Adapter converts a protocol-specific tool list payload into a slice of UnifiedTool values that the analyzer can process.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mcp provides an Adapter that parses MCP tools/list responses.
|
Package mcp provides an Adapter that parses MCP tools/list responses. |
|
Package openai provides an Adapter for the OpenAI Function Calling format.
|
Package openai provides an Adapter for the OpenAI Function Calling format. |
|
Package skills provides an Adapter for Markdown-based AI Skills format.
|
Package skills provides an Adapter for Markdown-based AI Skills format. |
Click to show internal directories.
Click to hide internal directories.