Discover capabilities and context
Find reusable assets and exact saved context without overloading an agent with the entire catalog.
Discovery should narrow a task, not download every asset's source. ONF separates metadata summaries, selected full definitions, workspace pack availability and concise context notes. Use those layers in order to keep agent context useful and to avoid accidentally replacing a summary over a real definition.
Find the intended workspace#
Use onf_list_workspaces and onf_get_workspace to identify the project by discovered ID. Workspaces organize workflows and durable data scope; they do not isolate shared library or secret permissions. Read workspace notes and search workflow/frame notes for the relevant purpose before changing a graph.
onf_search_context_documentation accepts text and optional kind/workspace/workflow scope, plus bounded paging. It returns excerpts and target metadata. Read the exact selected record with onf_get_context_documentation before editing. A valid target with no notes reads as empty Markdown at revision 0.
Discover the right asset#
List library packs and inspect the workspace's installed pack IDs. Then use onf_list_definitions with workspaceId, relevant kind, optional packId and focused query/tags/folder/socket filters. Hidden legacy helpers can be deliberately inspected with includeHidden; their existence does not make them the best new authoring choice.
The Library UI supports ranked multiword discovery, quoted phrases, negative terms and additional directional contract/runtime filters. Not every UI filter is an argument on the MCP list tool. Use the registered tool schema rather than copying UI controls into unsupported JSON properties.
Read likely candidates' descriptions, then fetch exact versions for inputs, outputs, config schema, code and versioned documentation. A close name or category does not prove equivalent behavior. Exact type IDs and versions determine socket compatibility; filtering is only navigation.
Work within bounded results#
Common MCP lists use offset/limit and a hasMore flag. Do not conclude “there is no suitable node” from the first page of a broad query. Try meaningful synonyms or a relevant pack, inspect additional pages and compare documented contracts. Conversely, do not fetch every source body just to resolve a specific capability.
If a capability is absent, explain the gap and the nearest available behaviors. Publishing a new node is a separate asset change. An explicit request to create that asset can authorize it; an unexpected library addition should be discussed before publication, especially when it introduces new external effects.
Leave useful context#
After a material graph change, update notes with concise purpose, important wiring and operating constraints. Use the document's current revision, not the graph revision. Avoid transient logs, secrets and transcript narration. The context documentation guide covers lifecycle and export behavior; library discovery covers the human interface.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
docs/MCP.mddocs/LIBRARY-DISCOVERY-2026-10-22.mddocs/LIBRARY-PACKS.mddocs/CONTEXT-DOCUMENTATION.mdserver/mcp-tools.ts