get_subject_mode
Retrieve the operational mode for a specific subject in MCP Kafka Schema Reg. Useful for backward compatibility; consider using the 'subject://{name}/{context}/{subject}/mode' resource for improved performance.
Instructions
Get the operational mode for a specific subject.
NOTE: This tool is maintained for backward compatibility. Consider using the 'subject://{name}/{context}/{subject}/mode' resource instead for better performance.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | ||
| registry | No | ||
| subject | Yes |
Implementation Reference
- schema_definitions.py:965-968 (schema)Output schema definition for the get_subject_mode tool, referencing MODE_SCHEMA which defines the mode structure."get_mode": MODE_SCHEMA, "update_mode": MODE_SCHEMA, "get_subject_mode": MODE_SCHEMA, "update_subject_mode": MODE_SCHEMA,
- task_management.py:137-140 (helper)Operation metadata for get_subject_mode indicating it is a quick synchronous operation."get_subject_mode": { "duration": OperationDuration.QUICK, "pattern": AsyncPattern.DIRECT, },