ContextLayer
io.github.DotNova/context-layer
Intelligent context infrastructure for AI teams: knowledge graph, sessions, tasks, documents.
- accept_org_invite — Accept a pending organization invite by organization name.
- add_task_dependency — Add a dependency between tasks. Use this to express that a task is blocked by another task (must complete first) or relates to it. This prevents context contamination: when Task B depends on Task A, a
- add_team_member — Add a member to a team. Find the team by name or ID, and the user by name or email.
- assign_task — Assign a user to a task by name or email. The user is added to the task's assignees and linked in the knowledge graph.
- create_position — Create a new job position/title in your organization (admin only).
- create_project — Create a new project in your organization. You will be added as the project owner.
- create_sprint — Create a new sprint for a project. Automatically migrates non-completed tasks (todo/in_progress) from the previous sprint. On first use, creates Sprint 0 (Backlog) for existing tasks and Sprint 1 as t
- create_task — Create a new task in a project. Tasks track work items and can be assigned to team members and linked to sessions.
- create_team — Create a new team in your organization. You will be added as team lead.
- delete_document — Delete a document from the knowledge base. This permanently removes the document.
- delete_position — Delete a position permanently (admin only). Find by title or ID.
- delete_project — Delete a project permanently (admin only). Find by name or ID.
- delete_task — Delete a task permanently. The task and all its assignee links are removed.
- delete_team — Delete a team permanently (admin only). Find by name or ID.
- delete_user — Delete (soft-delete) a user from your organization (admin/owner only).
- end_session — End a work session. This triggers context block generation — your activities are summarized and stored in the knowledge graph for future reference.
- find_documents — Search documents in the organization's knowledge base. Filter by category, tags, project, or free-text query. Returns document metadata — use get_document to read the full content.
- get_context — Get intelligent context from the knowledge graph. Pass a query describing what you need — the system will automatically route to the right data sources (tasks, sessions, documents, teams, blocks) base
- get_context_routing — Get the current context routing mode for the organization. Returns 'keyword_llm', 'keyword_only', or 'llm_only'.
- get_document — Get the full content of a document by its ID. Use find_documents first to search, then get_document to read the content. For binary documents (PDFs, images), content is returned base64-encoded with en
- get_live_activity — See what's happening right now: active sessions, recent events, traces, and tasks being worked on.
- get_my_stats — Get your personal activity statistics: total sessions, events, active days, projects worked on, and recent activity summary.
- get_org_stats — Get comprehensive organization statistics: counts, engagement metrics, task velocity.
- get_project_status — Get the current status of a project including recent activity. You can use either the project name or ID.
- get_session_details — Get full details of a session including all events/activities logged during it. Shows who did what, when, and the session block summary if available. Admins can view any session in the org; members ca
- get_team_details — Get detailed information about a team: members (with roles), linked projects, and recent activity. Use team name or ID.
- invite_user — Invite a new member to your organization (admin/owner only).
- link_task_session — Link a work session to a task. This records that the session was used to work on the task, connecting them in the knowledge graph.
- link_team_project — Link a project to a team. Find both by name or ID.
- list_colleagues — List colleagues in your organization. Shows name, email, role, and optionally filters by team. Admins see all users; members see users in their own teams.
- list_notifications — List your notifications — task assignments, status changes, sprint updates, invites, and more. Returns unread notifications by default.
- list_pending_invites — List pending organization invites for the current user.
- list_positions — List all job positions/titles in your organization with member counts.
- list_project_members — List all members involved in a project. Includes users who have sessions in the project and users from teams linked to the project.
- list_project_teams — List teams linked to a project.
- list_projects — List projects in your organization. No parameters needed — just call it to see all your projects.
- list_sessions — List your recent work sessions. Optionally filter by project name or ID. Shows task type, status, and event count.
- list_sprints — List sprints for a project. Shows sprint number, name, goal, status (current/completed), and task count.
- list_tasks — List tasks. Filter by project, status (todo/in_progress/done/cancelled), sprint number, or show only your tasks. Shows title, status, priority, assignees, sprint, and linked sessions.
- list_teams — List all teams in your organization. Shows team name, member count, project count, and description.
- log_activity — Log an activity or event. If no session_id is provided, a session is automatically created or reused for the project. Just pass project_name and content — no need to start a session first.
- log_trace — Log a granular agent action trace. High-frequency, no LLM processing.
- log_traces_batch — Log multiple traces in a single batch.
- mark_notification_read — Mark a notification as read, or mark all notifications as read at once.
- move_task_to_sprint — Move a task to a different sprint. Specify the target sprint by number or ID.
- remove_task_dependency — Remove a dependency between tasks. This unblocks the task from the other task.
- remove_team_member — Remove a member from a team. Find the team by name or ID, and the user by name or email.
- remove_user_from_org — Remove a user from the current organization without deleting their account. Admin/owner only.
- search_entities — Search entities in the knowledge graph by name. Finds people, companies, documents, concepts, tools, etc. that have been mentioned in your activities.
- set_context_routing — Set the context routing mode for the organization. Requires admin role. Options: 'keyword_llm' (balanced), 'keyword_only' (fastest), 'llm_only' (most accurate).