get_schema
Retrieves a specific version of a schema from the Kafka Schema Registry. Use this tool to access schema data by specifying subject, version, and context, ensuring compatibility with existing workflows.
Instructions
Get a specific version of a schema.
NOTE: This tool is maintained for backward compatibility. Consider using the 'schema://{name}/{context}/{subject}' resource instead for better performance.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context | No | ||
registry | No | ||
subject | Yes | ||
version | No | latest |
Input Schema (JSON Schema)
{
"properties": {
"context": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Context"
},
"registry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Registry"
},
"subject": {
"title": "Subject",
"type": "string"
},
"version": {
"default": "latest",
"title": "Version",
"type": "string"
}
},
"required": [
"subject"
],
"type": "object"
}