Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.lighton.ai/llms.txt

Use this file to discover all available pages before exploring further.

The LightOn MCP server exposes three tools. Use list_workspaces and list_tags to resolve names to IDs, then pass those IDs to search to scope your queries.
Retrieve the most relevant passages from your indexed documents for a natural-language query.
query
string
required
Natural-language search query. Must be self-contained: resolve pronouns and inline any necessary context. Max 1500 characters.
workspace_ids
integer[]
Restrict the search to these workspace IDs. Cannot be combined with file_ids.
file_ids
integer[]
Restrict the search to specific file IDs. Cannot be combined with workspace_ids or tag_ids.
tag_ids
integer[]
Restrict the search to documents carrying any of these tag IDs. Cannot be combined with file_ids.
max_results
integer
default:"10"
Maximum number of chunks to return. Range: 1–50.
mode
string
default:"text"
Search mode. "text" uses hybrid keyword + vector search. "vision" uses VLM-embedded page image search.

list_workspaces

List every workspace the caller has access to, each annotated with an auto-generated summary. Use this to resolve a workspace name to an ID before scoping a search call. No parameters.

list_tags

List every document tag defined within the caller’s company. Use this to map a human-readable label to a tag_id for filtering searches. No parameters.