Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConvertRequest ¶
type ConvertRequest struct {
Text string `json:"text,omitempty"` // For inline mode
FilePath string `json:"file_path,omitempty"` // For update_file mode (default)
KeepSmartQuotes bool `json:"keep_smart_quotes,omitempty"` // Whether to keep smart quotes (default: false, i.e., normalise them)
}
ConvertRequest represents the request parameters for text conversion
type ConvertResponse ¶
type ConvertResponse struct {
ConvertedText string `json:"converted_text"`
OriginalText string `json:"original_text"`
ChangesCount int `json:"changes_count"`
}
ConvertResponse represents the response from text conversion
type M2ETool ¶
type M2ETool struct{}
M2ETool implements the American to British English converter tool
func (*M2ETool) Definition ¶
Definition returns the tool's definition for MCP registration
Click to show internal directories.
Click to hide internal directories.