Documentation
¶
Overview ¶
Package get_dq_rule_template implements the get_dq_rule_template MCP tool: it reads a single data quality rule template by name.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Input ¶
type Input struct {
RuleTemplateName string `json:"ruleTemplateName" jsonschema:"Required. Name of the rule template (from list_data_quality_rule_templates)."`
}
Input is the tool's typed input.
type Output ¶
type Output struct {
Status OutputStatus `` /* 136-byte string literal not displayed */
Message string `json:"message" jsonschema:"Human-readable summary."`
Template *Template `json:"template,omitempty" jsonschema:"The template definition, on success."`
}
Output is the typed response.
type OutputStatus ¶
type OutputStatus string
OutputStatus is the overall outcome of a get_dq_rule_template call.
const ( // StatusSuccess means the template was found and returned. StatusSuccess OutputStatus = "success" // StatusValidationError means the inputs failed validation before any read. StatusValidationError OutputStatus = "validation_error" // StatusError means the template could not be read due to a downstream error. StatusError OutputStatus = "error" )
type Template ¶
type Template struct {
ID string `json:"id"`
Name string `json:"ruleTemplateName"`
Description string `json:"description,omitempty"`
SQL string `json:"sql,omitempty"`
Dialect string `json:"dialect,omitempty"`
Dimensions []string `json:"dimensions,omitempty"`
Tolerance *int `json:"tolerance,omitempty"`
IsSystem bool `json:"isSystem"`
DeployedRuleCount int64 `json:"deployedRuleCount"`
}
Template is the returned template definition.
Click to show internal directories.
Click to hide internal directories.