cancel_elicitation_request
Cancel a pending elicitation request for Kafka Schema Registry by providing the request ID, ensuring efficient management of schema-related processes.
Instructions
Cancel a pending elicitation request.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes |
Implementation Reference
- schema_definitions.py:1041-1041 (schema)The output schema for the cancel_elicitation_request tool, mapped to the standard SUCCESS_RESPONSE_SCHEMA."cancel_elicitation_request": SUCCESS_RESPONSE_SCHEMA,
- elicitation.py:225-232 (helper)Core implementation of cancelling an elicitation request in the ElicitationManager class. Removes the request from pending_requests and cancels associated timeout tasks.def cancel_request(self, request_id: str) -> bool: """Cancel a pending elicitation request.""" if request_id in self.pending_requests: self._cleanup_request(request_id) logger.info(f"Cancelled elicitation request {request_id}") return True return False