get_schema_by_id
Retrieve schema details by its globally unique ID from the Kafka Schema Registry. The tool returns schema content, type, and metadata for efficient schema management.
Instructions
Get a schema by its globally unique ID.
Args: schema_id: The globally unique schema ID registry: Optional registry name (ignored in single-registry mode)
Returns: Schema information including content, type, and metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
registry | No | ||
schema_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"registry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Registry"
},
"schema_id": {
"title": "Schema Id",
"type": "integer"
}
},
"required": [
"schema_id"
],
"type": "object"
}