get_tag_metadata
Retrieves detailed metadata for a specific Canary historian tag, including properties, data type, units, description, and configuration details to support tag inspection and validation.
Instructions
Get detailed metadata for a specific tag in Canary.
This tool retrieves comprehensive metadata for a tag including properties, data type, units, description, and configuration details.
Args: tag_path: Full path or name of the tag to retrieve metadata for
Returns: dict[str, Any]: Dictionary containing tag metadata with keys: - metadata: Dictionary of tag properties - success: Boolean indicating if operation succeeded - tag_path: The tag path that was queried
Raises: Exception: If authentication fails or API request errors occur
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tag_path": "<tag_path>"
},
"name": "get_tag_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||