fact-sheet-search
Scope
This skill routes fact-sheet questions. Tool mechanics belong to tool descriptions; workflow details belong to the reference files. Treat every type, relation, field, facet, enum, tag, role, and example key here or in references as an example shape until it is confirmed in the current workspace. For each answer, bind the actual workspace keys from mcp__leanix__get_workspace_context, targeted tool results, or GraphQL introspection before building GraphQL. Semantic search is candidate discovery only; for broad concept routing rows, load the focused reference and verify candidates structurally before answering.
Retrieval tools for this workflow are mcp__leanix__get_workspace_context, mcp__leanix__filter_inventory, mcp__leanix__search_inventory, mcp__leanix__search_users, mcp__leanix__execute_code, and load_leanix_skill_reference. This skill already names the retrieval tools. If a retrieval tool is directly available, call it directly; if it is hidden, load its schema by exact name. Do not call mcp__leanix__search_mcp_tools in this workflow: it searches for tools, not inventory data. Do not use it to rediscover these known retrieval tools or to look up fact-sheet names, concepts, data objects, users, fields, lifecycle, ownership, or geography. Never satisfy a mandatory/safeguard/no-op step by calling mcp__leanix__search_mcp_tools with queries like "noop", "irrelevant", or "mandatory tool call"; skip that step and continue with the exact workflow tool. Avoid deprecated inventory shortcuts.
API Access
Before any LeanIX tool call: if only
mcp__leanix__authenticateandmcp__leanix__complete_authenticationare available, tell the user to run/mcpand authenticate theleanixserver (browser opens automatically). Do NOT callauthenticateyourself or suggestclaude mcp add— the former returns a URL without triggering the browser flow (copy-paste UX), the latter would shadow the plugin's bundled server. If/mcpdoesn't surface tools after auth, treat it as a plugin bug.
Tool availability & fallback
mcp__leanix__execute_codefallback — when a workflow calls formcp__leanix__execute_code(toolsetcode_execution) but it errors as unavailable, answer with one or moremcp__leanix__filter_inventorycalls instead: push every predicate server-side as facet filters (FactSheetTypes, relation facets with targetkeys, lifecycle/tag/enum facets); for grouped counts use afilterOptionsfirst:0probe; for relations go target-first (resolve target IDs, then filter the source by relation facetkeys:[targetIds]); chunk IDs across sequential calls when onefilter.idscall is too large. If the answer genuinely needs in-memory joins, dedupe, or ranking across many pages that server-side facets cannot express, return the best server-side approximation with a shortlimitationnote rather than presenting partial data ascomplete.- Required tool not available — if a tool a question needs errors as unavailable and cannot be loaded by exact name, do not guess or fabricate. State plainly that the required tool(s) are not enabled, name them exactly, and recommend enabling the owning toolset (e.g. "The required tool
mcp__leanix__execute_code(toolsetcode_execution) is not enabled in this session; ask your workspace admin to enable it, then retry."). Formcp__leanix__execute_code, apply the fallback above first and surface this only when the fallback cannot fully answer. If allinventoryretrieval tools are missing, state the inventory workflow cannot run and name theinventorytoolset plus tools.