MCP
Navigation
Перевод пользователя в нужный раздел интерфейса
Подключение: https://mcp.legalstack.ru/mcp/navigation или в составе агрегированного сервера https://mcp.legalstack.ru/mcp.
Имя сервера: legalstack-navigation. Инструментов: 1.
navigate
Перевести пользователя в соответствующий раздел/сущность интерфейса.
Вызывай ТОЛЬКО когда пользователь явно выразил намерение увидеть/создать/открыть что-то. НЕ вызывай как side-effect чтения (list_, get_, search_*) — это просто получение данных.
Примеры:
- "покажи договор X" → найти ID → navigate(entity=document, intent=open, id=...)
- "создай шаблон NDA" → navigate(entity=document, intent=create)
- "новая автоматизация на основе этого реестра" → navigate(entity=automation, intent=create, fromRegistry=...)
- "согласование на этот документ" → navigate(entity=approval, intent=create, doc=...)
- "удалить открытый документ" → delete_document → navigate(entity=document, intent=list)
{
"type": "object",
"properties": {
"entity": {
"type": "string",
"enum": [
"document",
"interface",
"file",
"compliance",
"registry",
"knowledge",
"contact",
"task",
"calendar",
"calculator",
"approval",
"signature",
"automation",
"integration",
"agent",
"profile",
"team",
"security",
"api",
"mcp",
"inbox",
"mail",
"tutorial",
"support",
"home"
],
"description": "Тип сущности или раздела. Должен соответствовать UI-разделам приложения."
},
"intent": {
"type": "string",
"enum": [
"open",
"create",
"list"
],
"description": "Намерение: open — открыть конкретную сущность (нужен id), create — открыть форму создания, list — перейти к списку."
},
"id": {
"description": "ID сущности (обязателен при intent=open).",
"type": "string"
},
"fromTemplate": {
"description": "Контекст: ID шаблона-источника при intent=create.",
"type": "string"
},
"fromRegistry": {
"description": "Контекст: ID реестра-источника при intent=create.",
"type": "string"
},
"fromInterface": {
"description": "Контекст: ID интерфейса-источника при intent=create.",
"type": "string"
},
"doc": {
"description": "Контекст: ID документа при intent=create для approval/signature.",
"type": "string"
}
},
"required": [
"entity",
"intent"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}