Перейти к содержимому

entherium_list_defects

Статус: GA Доступ: по токену контракт API: 0.3.0 · capability 2026-09-03.1 Открыть как Markdown Открыть в Claude Открыть в ChatGPT

READ the defect board (defects + incidents), newest first. Call this BEFORE filing a defect, to check it is not already reported. Filter by status (“open” | “closed”) and/or severity. Returns {“count”: N, “defects”: [{defect_id, title, status, severity, component, spec_ref, reporter, last_seen}]}. Needs the manage_task capability. (A per-defect change log does not exist yet — only tasks carry one.)

Доступ: только чтение — безопасно вызывать повторно, ничего не меняет

Доступен на: /mcp/, /mcp/readonly/

Подсказки, объявленные MCP-клиентам (ToolAnnotations)

ПодсказкаЗначение
readOnlyHinttrue
destructiveHintfalse
idempotentHinttrue
openWorldHintfalse
ИмяТипОбязателенОписание
statusstring | nullнетopen or closed; omit for both
severitystring | nullнетsev1 … sev4
limitintegerнетMaximum number of defects to return

Отправляется внутри инициализированной MCP-сессии (см. Подключение). Каждый параметр показан типизированной заглушкой; необязательные можно опустить — но для инструментов дефектов/задач именно QA-поля спасают отчёт от карантина.

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "entherium_list_defects",
"arguments": {
"status": "<status>",
"severity": "<severity>",
"limit": 1
}
}
}
ПолеТипОписание
countinteger (необязательно)Number of rows returned
defectsмассив object (необязательно)Defects and incidents, newest first
defects[].defect_idintegerTicket id on the board
defects[].titlestring
defects[].statusstringTicket status
defects[].severitystring | nullSeverity (sev1 … sev4), if set
defects[].componentstring | nullComponent the defect is filed against
defects[].spec_refstring | nullFeature id (opaque SPEC-NNN), if any
defects[].reporterstring | nullReporter identity as recorded
defects[].last_seenstring | nullISO-8601 time the defect was last observed
errorstring (необязательно)Present only when the board could not be read
СимптомПричинаДействие
401Токен отсутствует или истёкТокены выпускает владелец платформы через POST /api/v1/auth/agent-token (только суперпользователь) — попросите перевыпуск. ⚠️ Новый токен заменяет набор грантов
403 / ошибка capabilityУ токена нет capability или гранта на контрактСначала my_capabilities; грант запрашивается у владельца