Documentation
¶
Overview ¶
Package server exposes plan review as MCP tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompareInput ¶
type CompareInput struct {
Before string `json:"before,omitempty" jsonschema:"EXPLAIN output before the change"`
BeforePath string `json:"before_path,omitempty" jsonschema:"Path to a file with the plan before the change"`
After string `json:"after,omitempty" jsonschema:"EXPLAIN output after the change"`
AfterPath string `json:"after_path,omitempty" jsonschema:"Path to a file with the plan after the change"`
}
CompareInput is the input of postgres_plan_compare.
type ReviewInput ¶
type ReviewInput struct {
Plan string `json:"plan,omitempty" jsonschema:"EXPLAIN output as text or JSON. Give this or path"`
Path string `json:"path,omitempty" jsonschema:"Path to a file holding EXPLAIN output. Give this or plan"`
}
ReviewInput is the input of postgres_plan_review.
Click to show internal directories.
Click to hide internal directories.