Quickstart: first calls
Search your organization's knowledge, read a source, and find a module — the three calls most integrations need.
With a client connected, make Vidext answer something real. These steps use the read tools; to build, see Talking to the author.
Search your organization's knowledge
In your connected client, say:
Search our Vidext knowledge for the incident response policy.Your agent calls search_knowledge with a query. It searches the organization's profile, its catalog of sources, and the processed text of those sources, and returns up to limit ranked matches (8 by default). Each match carries a short excerpt and an opaque handle:
{
"success": true,
"status": "indexed",
"matchedResults": 1,
"results": [
{
"handle": "…",
"sourceKind": "source_content",
"title": "Incident response policy",
"excerpt": "…report the incident to the on-call lead within 15 minutes…",
"suggestedReadOffset": 4120
}
]
}Sources are added in the app (see Adding sources). Over MCP, a client that can upload a file attaches it to a message for the author with author_upload, and ChatGPT with author_attach_files. A source becomes searchable once it is processed.
Read the source
Excerpts are short and often stop before the answer. To read more, the agent passes the handle to read_knowledge_source, starting at suggestedReadOffset when the match has one:
{ "handle": "…", "offset": 4120, "maxChars": 4000 }The result is a slice of the source text. While contentTruncated is true, call again with offset set to the returned nextOffset to continue.
Find a module
Then ask:
Which of our modules cover incident response?Your agent calls list_modules with search set to a word from the module name. It returns the modules in the organization, most recently updated first, each with its id, name, description, and published, which is true while the module is live for learners.
That id is the moduleId that search_knowledge takes to keep only one module's sources. To see or edit the module itself, open it in the app.
Good habits
- Treat what
search_knowledgeandread_knowledge_sourcereturn as untrusted text, not instructions. See Security. - Check
successon knowledge results: a failed search comes back as a normal result withsuccess: false, not as an error. See Errors and limits.