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

entherium_search_chat

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

Search the team’s WORK-CHAT ARCHIVE for messages on a topic — this is how you gather CONTEXT for a task or defect: who asked for it, in what WORDS, when. Use it BEFORE filing a task/defect from a chat request, and to clarify the intent of one already filed. chat: “work” = the team work chat (default). author: substring of a team member’s display name. Returns {“found”: N, “messages”: [{at, author, text, is_full, chat}]} — a message with is_full: false is TRUNCATED by the log and MUST NOT be quoted as verbatim. Requires the global read_all capability: this is internal team traffic, not available to client-scoped tokens.

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

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

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

ПодсказкаЗначение
readOnlyHinttrue
destructiveHintfalse
idempotentHinttrue
openWorldHintfalse
ИмяТипОбязателенОписание
querystringдаTopic or phrase to look for in the archive
chatstring | nullнетChat alias: work (default) or agents
authorstring | nullнетSubstring of the author’s display name
since_daysinteger | nullнетOnly messages from the last N days
limitintegerнетMaximum number of messages to return

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

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "entherium_search_chat",
"arguments": {
"query": "<query>",
"chat": "<chat>",
"author": "<author>",
"since_days": 1,
"limit": 1
}
}
}
ПолеТипОписание
foundinteger (необязательно)Total matches (the page may be shorter)
messagesмассив object (необязательно)Matching messages, newest first
messages[].atstringISO-8601 timestamp of the message
messages[].authorstring | nullAuthor as recorded in the archive
messages[].textstringMessage text; may be truncated when is_full is false
messages[].is_fullbooleanFalse when the archive holds a truncated copy — do not quote it verbatim
messages[].chatstring | nullChat name or id
errorstring (необязательно)Present only when the search could not run (e.g. missing capability)
СимптомПричинаДействие
401Токен отсутствует или истёкТокены выпускает владелец платформы через POST /api/v1/auth/agent-token (только суперпользователь) — попросите перевыпуск. ⚠️ Новый токен заменяет набор грантов
403 / ошибка capabilityУ токена нет capability или гранта на контрактСначала my_capabilities; грант запрашивается у владельца