Every MCP profile and tool an AI agent can use, with its arguments.
quivr mcp --profile <profile> serves the tools of one profile to an AI agent over MCP (Model Context Protocol) on stdin and stdout. It needs a running server and an API key, like every online command. How to start it, cite a source and who can see what: Connect an AI agent. The command itself: quivr mcp.
Profiles
--profile picks one profile. A profile only narrows which tools the agent sees; the API key decides, on the server, what every call may reach.
Quivr stores documents as Records in Corpora and searches them with exact provenance.Workflow: call list_corpora to learn which Corpora this connection may search, call search with a question and those corpus_ids, then call read_record on a hit when you need its full context.To cite a hit, give its record_id, version_id, part_key and excerpt offsets [start,end). Offsets count Unicode code points in that Part's text, and the excerpt text is copied exactly from it.Access is decided by the server from the API key: a Corpus you cannot reach is refused, never silently skipped.
Profile ingest
The read tools, plus ingest text into a Corpus and follow its Ingestion Receipt; no tool withdraws or deletes.
Quivr stores documents as Records in Corpora and searches them with exact provenance.Read workflow: call list_corpora to learn which Corpora this connection may use, call search with a question and those corpus_ids, then call read_record on a hit when you need its full context.To cite a hit, give its record_id, version_id, part_key and excerpt offsets [start,end). Offsets count Unicode code points in that Part's text, and the excerpt text is copied exactly from it.Ingest workflow: call ingest_text with a corpus_id, a record_key and the text. Ingestion is asynchronous: the call returns an Ingestion Receipt once the text is accepted, not once it is searchable. Call read_receipt with its receipt_id until state is resolved and availability.searchable is true; only then does search find the text. Stop following and report the diagnostics when outcome is conflict, availability.state is quarantined, processing.state is blocked, or availability.state is retrieval_ready while is_current is false (a newer text replaced it). Retrying ingest_text with the same arguments returns the same Receipt and never creates a duplicate.Access is decided by the server from the API key: a Corpus you cannot reach, or an ingestion the key may not perform, is refused with a tool error, never silently skipped.
Tools
Tool list_corpora
List reachable Corpora
Read-only
Idempotent
Profiles
yes: the tool changes no data
yes: repeating the same call has no further effect
List the Corpora this connection's API key may read. Call it first to learn which corpus_ids you can pass to search.Returns {"items": [{"corpus_id", "name", "effective_retrieval"}], "next_page_cursor"}. Only Corpora the key is authorized for appear. When next_page_cursor is present, call again with it as page_cursor to get the next page.
Argument
Type
Required
Description
page_cursor
string
no
next_page_cursor from a previous list_corpora result; omit for the first page
At least 1 character.
Input schema
{ "type": "object", "additionalProperties": false, "properties": { "page_cursor": { "type": "string", "minLength": 1, "description": "next_page_cursor from a previous list_corpora result; omit for the first page" } }}
Tool search
Search Corpora
Read-only
Idempotent
Profiles
yes: the tool changes no data
yes: repeating the same call has no further effect
Search one or more Corpora for passages that answer a question. Use it to find evidence before answering or citing.Returns {"items": [...], "retrieval_profile": {"name", "version"}}. Each item is a ranked hit: rank, record_id, version_id (the Record Version the passage comes from), part_key (the Part of that Version), and excerpt {text, start, end}, where text is the exact slice [start,end) of that Part's text, counted in Unicode code points. An item may carry an explanation of why it ranks there. Cite a hit with record_id, version_id, part_key and the offsets. An empty items list means nothing matched; an unauthorized corpus_id is an error, never silently dropped.
Argument
Type
Required
Description
query
string
yes
what to look for, in natural language or keywords
At least 1 character. At most 8192 characters.
corpus_ids
array of string
yes
Corpora to search, from list_corpora
At least 1 item. At most 16 items. Items are unique. Each item: at least 1 character.
mode
string
no
lexical matches words, semantic matches meaning, hybrid combines both; the server default is hybrid
One of lexical, semantic, hybrid.
profile
string
no
search profile name (for example deep, when the deployment’s retrieval plugin declares it; GET /v0/search/profiles lists them); the server default is default
limit
integer
no
maximum number of hits; the server default is 10
Minimum 1. Maximum 50.
filter
object
no
narrow the search before ranking
Input schema
{ "type": "object", "additionalProperties": false, "required": [ "query", "corpus_ids" ], "properties": { "query": { "type": "string", "minLength": 1, "maxLength": 8192, "description": "what to look for, in natural language or keywords" }, "corpus_ids": { "type": "array", "minItems": 1, "maxItems": 16, "uniqueItems": true, "items": { "type": "string", "minLength": 1 }, "description": "Corpora to search, from list_corpora" }, "mode": { "type": "string", "enum": [ "lexical", "semantic", "hybrid" ], "description": "lexical matches words, semantic matches meaning, hybrid combines both; the server default is hybrid" }, "profile": { "type": "string", "pattern": "^[a-z][a-z0-9_]{0,31}$", "description": "search profile name (for example deep, when the deployment's retrieval plugin declares it; GET /v0/search/profiles lists them); the server default is default" }, "limit": { "type": "integer", "minimum": 1, "maximum": 50, "description": "maximum number of hits; the server default is 10" }, "filter": { "type": "object", "additionalProperties": false, "minProperties": 1, "description": "narrow the search before ranking", "properties": { "source_namespaces": { "type": "array", "minItems": 1, "maxItems": 50, "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 200 }, "description": "keep only Records from these Source Namespaces (a Record's source.namespace); the best matches of these sources are returned even when others rank higher" } } } }}
Tool read_record
Read a Record
Read-only
Idempotent
Profiles
yes: the tool changes no data
yes: repeating the same call has no further effect
Read a Record and one of its Versions in full, to expand a search hit into its context or check a citation.Pass the record_id of a hit, and its version_id to read exactly the Version the excerpt came from; omit version_id to read the Record's current Version.Returns {"record": {"record_id", "source", "current_version_id", "withdrawn"}, "version": {"version_id", "record_id", "availability", "manifest", "processing", "relations", ...}}. version.manifest.parts holds every Part with its key, role and content; a hit's excerpt offsets index the text of the Part whose key is the hit's part_key. When record.current_version_id differs from the Version you cite, a newer Version of the Record exists.
Argument
Type
Required
Description
record_id
string
yes
record_id of a search hit
At least 1 character.
version_id
string
no
version_id to read; omit for the Record’s current Version
At least 1 character.
Input schema
{ "type": "object", "additionalProperties": false, "required": [ "record_id" ], "properties": { "record_id": { "type": "string", "minLength": 1, "description": "record_id of a search hit" }, "version_id": { "type": "string", "minLength": 1, "description": "version_id to read; omit for the Record's current Version" } }}
Tool ingest_text
Ingest text into a Corpus
Read-only
Idempotent
Profiles
no: the tool can change data
yes: repeating the same call has no further effect
Add text to a Corpus as a Record, so that search can find it later. Use it to store knowledge worth keeping, such as notes or a document you were given.record_key is your stable name for the Record within the Corpus and namespace: sending another text with the same record_key corrects the Record with a new Record Version; earlier Versions stay readable. namespace groups your Records; it defaults to "mcp".Ingestion is asynchronous. The call returns an Ingestion Receipt as soon as the text is accepted: {"receipt_id", "state", "outcome", "record_id", "version_id", "availability", "processing", "diagnostics", "source"}. state is pending, then resolved with an outcome (created, duplicate or conflict). The text is searchable only once availability.searchable is true: call read_receipt with the receipt_id until then.Retries are safe: idempotency_key defaults to a digest of corpus_id, namespace, record_key and text, so repeating the same call returns the same Receipt instead of a duplicate. When that Receipt's Version has since been replaced by another text for the same record_key, the call ingests the text again so it becomes current once more; to go back while the replacing text is not searchable yet, pass your own idempotency_key. A key you pass controls replay yourself; reusing one with different arguments is refused with idempotency_conflict.
Argument
Type
Required
Description
corpus_id
string
yes
Corpus to add the text to, from list_corpora
At least 1 character.
record_key
string
yes
your stable name for this Record; the same record_key corrects the same Record
At least 1 character.
text
string
yes
the full text of the Record
At least 1 character.
namespace
string
no
source namespace the record_key belongs to; omit to use mcp
At least 1 character.
idempotency_key
string
no
retry key; omit to derive it from corpus_id, namespace, record_key and text
At least 1 character.
Input schema
{ "type": "object", "additionalProperties": false, "required": [ "corpus_id", "record_key", "text" ], "properties": { "corpus_id": { "type": "string", "minLength": 1, "description": "Corpus to add the text to, from list_corpora" }, "record_key": { "type": "string", "minLength": 1, "description": "your stable name for this Record; the same record_key corrects the same Record" }, "text": { "type": "string", "minLength": 1, "description": "the full text of the Record" }, "namespace": { "type": "string", "minLength": 1, "description": "source namespace the record_key belongs to; omit to use mcp" }, "idempotency_key": { "type": "string", "minLength": 1, "description": "retry key; omit to derive it from corpus_id, namespace, record_key and text" } }}
Tool read_receipt
Read an Ingestion Receipt
Read-only
Idempotent
Profiles
yes: the tool changes no data
yes: repeating the same call has no further effect
Read the Ingestion Receipt that ingest_text returned, to follow its text until it is searchable.Returns {"receipt_id", "state", "outcome", "record_id", "version_id", "availability", "processing", "diagnostics", "source"}. state pending means the text is accepted but not yet processed. state resolved carries an outcome: created (a new Record Version), duplicate (the same text was already the Record's content) or conflict (see diagnostics). availability {"state", "is_current", "searchable"} describes the Record Version and appears once it exists: call again until availability.searchable is true, then search finds the text. Stop calling and report the diagnostics when outcome is conflict, availability.state is quarantined, processing.state is blocked (the diagnostics explain what needs attention), or availability.state is retrieval_ready while is_current is false (a newer text for the same record_key replaced this Version). A Version still building reports is_current false until it becomes current: keep following it.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Quivr","description":"An open-source engine that turns continuous content streams into search and alerts.","colors":{"primary":"#5b3fd6","light":"#b29aff","dark":"#4b31be"},"api":{"playground":{"display":"interactive"}},"integrations":{"posthog":{"apiKey":"phc_pSFWFc94275asrYSX5PQffv7wE6vUsGDdUnBaDobgtMN","apiHost":"https://us.i.posthog.com","sessionRecording":false}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thevibecompany","hasAudioNarration":false,"actualSubdomain":"thevibecompany","customDomains":["docs.quivr.thevibecompany.co"],"gitSource":{"type":"github","owner":"the-vibe-company","repo":"quivr","deployBranch":"main","contentDirectory":"docs-site","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae36952217e82a3b9255c43","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"Reference","count":108},{"language":"default","tag":"Endpoints","count":100},{"language":"default","tag":"Documentation","count":52},{"language":"default","tag":"Admin","count":28},{"language":"default","tag":"Run Quivr","count":27},{"language":"default","tag":"Connectors","count":15},{"language":"default","tag":"Use Quivr","count":12},{"language":"default","tag":"Corpora","count":10},{"language":"default","tag":"Subscriptions","count":9},{"language":"default","tag":"Extend Quivr","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"reference/mcp","slug":"/reference/mcp","pageMetadata":{"title":"MCP reference","description":"Every MCP profile and tool an AI agent can use, with its arguments.","href":"/reference/mcp"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every MCP profile and tool an AI agent can use, with its arguments.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Heading,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`quivr mcp --profile \u003cprofile>`}),` serves the tools of one profile to an AI agent over MCP (Model Context Protocol) on stdin and stdout. It needs a running server and an API key, like every online command. How to start it, cite a source and who can see what: `,_jsx(_components.a,{href:`/guides/ai-agents`,children:`Connect an AI agent`}),`. The command itself: `,_jsx(_components.a,{href:`/reference/cli#quivr-mcp`,children:_jsx(_components.code,{children:`quivr mcp`})}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`profiles`,children:`Profiles`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--profile`}),` picks one profile. A profile only narrows which tools the agent sees; the API key decides, on the server, what every call may reach.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Profile`}),_jsx(_components.th,{children:`Summary`}),_jsx(_components.th,{children:`Tools`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`#profile-read`,children:_jsx(_components.code,{children:`read`})})}),_jsx(_components.td,{children:`list reachable Corpora, search them and read Records; no tool changes data`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`#tool-list_corpora`,children:_jsx(_components.code,{children:`list_corpora`})}),`, `,_jsx(_components.a,{href:`#tool-search`,children:_jsx(_components.code,{children:`search`})}),`, `,_jsx(_components.a,{href:`#tool-read_record`,children:_jsx(_components.code,{children:`read_record`})})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`#profile-ingest`,children:_jsx(_components.code,{children:`ingest`})})}),_jsx(_components.td,{children:`the read tools, plus ingest text into a Corpus and follow its Ingestion Receipt; no tool withdraws or deletes`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`#tool-list_corpora`,children:_jsx(_components.code,{children:`list_corpora`})}),`, `,_jsx(_components.a,{href:`#tool-search`,children:_jsx(_components.code,{children:`search`})}),`, `,_jsx(_components.a,{href:`#tool-read_record`,children:_jsx(_components.code,{children:`read_record`})}),`, `,_jsx(_components.a,{href:`#tool-ingest_text`,children:_jsx(_components.code,{children:`ingest_text`})}),`, `,_jsx(_components.a,{href:`#tool-read_receipt`,children:_jsx(_components.code,{children:`read_receipt`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`profile-read`,children:`Profile read`}),`\n`,_jsx(_components.p,{children:`List reachable Corpora, search them and read Records; no tool changes data.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`quivr mcp --profile read`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tool`}),_jsx(_components.th,{children:`Title`}),_jsx(_components.th,{children:`Read-only`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`#tool-list_corpora`,children:_jsx(_components.code,{children:`list_corpora`})})}),_jsx(_components.td,{children:`List reachable Corpora`}),_jsx(_components.td,{children:`yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`#tool-search`,children:_jsx(_components.code,{children:`search`})})}),_jsx(_components.td,{children:`Search Corpora`}),_jsx(_components.td,{children:`yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`#tool-read_record`,children:_jsx(_components.code,{children:`read_record`})})}),_jsx(_components.td,{children:`Read a Record`}),_jsx(_components.td,{children:`yes`})]})]})]}),`\n`,_jsx(_components.p,{children:`Instructions the agent receives when it connects:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Quivr stores documents as Records in Corpora and searches them with exact provenance.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Workflow: call list_corpora to learn which Corpora this connection may search, call search with a question and those corpus_ids, then call read_record on a hit when you need its full context.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`To cite a hit, give its record_id, version_id, part_key and excerpt offsets [start,end). Offsets count Unicode code points in that Part's text, and the excerpt text is copied exactly from it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Access is decided by the server from the API key: a Corpus you cannot reach is refused, never silently skipped.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`profile-ingest`,children:`Profile ingest`}),`\n`,_jsx(_components.p,{children:`The read tools, plus ingest text into a Corpus and follow its Ingestion Receipt; no tool withdraws or deletes.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`quivr mcp --profile ingest`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tool`}),_jsx(_components.th,{children:`Title`}),_jsx(_components.th,{children:`Read-only`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`#tool-list_corpora`,children:_jsx(_components.code,{children:`list_corpora`})})}),_jsx(_components.td,{children:`List reachable Corpora`}),_jsx(_components.td,{children:`yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`#tool-search`,children:_jsx(_components.code,{children:`search`})})}),_jsx(_components.td,{children:`Search Corpora`}),_jsx(_components.td,{children:`yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`#tool-read_record`,children:_jsx(_components.code,{children:`read_record`})})}),_jsx(_components.td,{children:`Read a Record`}),_jsx(_components.td,{children:`yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`#tool-ingest_text`,children:_jsx(_components.code,{children:`ingest_text`})})}),_jsx(_components.td,{children:`Ingest text into a Corpus`}),_jsx(_components.td,{children:`no`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`#tool-read_receipt`,children:_jsx(_components.code,{children:`read_receipt`})})}),_jsx(_components.td,{children:`Read an Ingestion Receipt`}),_jsx(_components.td,{children:`yes`})]})]})]}),`\n`,_jsx(_components.p,{children:`Instructions the agent receives when it connects:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Quivr stores documents as Records in Corpora and searches them with exact provenance.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Read workflow: call list_corpora to learn which Corpora this connection may use, call search with a question and those corpus_ids, then call read_record on a hit when you need its full context.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`To cite a hit, give its record_id, version_id, part_key and excerpt offsets [start,end). Offsets count Unicode code points in that Part's text, and the excerpt text is copied exactly from it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ingest workflow: call ingest_text with a corpus_id, a record_key and the text. Ingestion is asynchronous: the call returns an Ingestion Receipt once the text is accepted, not once it is searchable. Call read_receipt with its receipt_id until state is resolved and availability.searchable is true; only then does search find the text. Stop following and report the diagnostics when outcome is conflict, availability.state is quarantined, processing.state is blocked, or availability.state is retrieval_ready while is_current is false (a newer text replaced it). Retrying ingest_text with the same arguments returns the same Receipt and never creates a duplicate.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Access is decided by the server from the API key: a Corpus you cannot reach, or an ingestion the key may not perform, is refused with a tool error, never silently skipped.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`tools`,children:`Tools`}),`\n`,_jsx(Heading,{level:`3`,id:`tool-list_corpora`,children:`Tool list_corpora`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`List reachable Corpora`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Read-only`}),_jsx(_components.th,{children:`Idempotent`}),_jsx(_components.th,{children:`Profiles`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`yes: the tool changes no data`}),_jsx(_components.td,{children:`yes: repeating the same call has no further effect`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`#profile-read`,children:_jsx(_components.code,{children:`read`})}),`, `,_jsx(_components.a,{href:`#profile-ingest`,children:_jsx(_components.code,{children:`ingest`})})]})]})})]}),`\n`,_jsx(_components.p,{children:`Description the agent receives:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`List the Corpora this connection's API key may read. Call it first to learn which corpus_ids you can pass to search.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Returns {\"items\": [{\"corpus_id\", \"name\", \"effective_retrieval\"}], \"next_page_cursor\"}. Only Corpora the key is authorized for appear. When next_page_cursor is present, call again with it as page_cursor to get the next page.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Argument`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`page_cursor`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[`next_page_cursor from a previous list_corpora result; omit for the first page`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 character.`]})]})})]}),`\n`,_jsx(Accordion,{title:`Input schema`,id:`input-schema`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additionalProperties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"page_cursor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"next_page_cursor from a previous list_corpora result; omit for the first page\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`tool-search`,children:`Tool search`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Search Corpora`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Read-only`}),_jsx(_components.th,{children:`Idempotent`}),_jsx(_components.th,{children:`Profiles`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`yes: the tool changes no data`}),_jsx(_components.td,{children:`yes: repeating the same call has no further effect`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`#profile-read`,children:_jsx(_components.code,{children:`read`})}),`, `,_jsx(_components.a,{href:`#profile-ingest`,children:_jsx(_components.code,{children:`ingest`})})]})]})})]}),`\n`,_jsx(_components.p,{children:`Description the agent receives:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Search one or more Corpora for passages that answer a question. Use it to find evidence before answering or citing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Returns {\"items\": [...], \"retrieval_profile\": {\"name\", \"version\"}}. Each item is a ranked hit: rank, record_id, version_id (the Record Version the passage comes from), part_key (the Part of that Version), and excerpt {text, start, end}, where text is the exact slice [start,end) of that Part's text, counted in Unicode code points. An item may carry an explanation of why it ranks there. Cite a hit with record_id, version_id, part_key and the offsets. An empty items list means nothing matched; an unauthorized corpus_id is an error, never silently dropped.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Argument`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`query`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`yes`}),_jsxs(_components.td,{children:[`what to look for, in natural language or keywords`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 character. At most 8192 characters.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`corpus_ids`})}),_jsx(_components.td,{children:`array of string`}),_jsx(_components.td,{children:`yes`}),_jsxs(_components.td,{children:[`Corpora to search, from list_corpora`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 item. At most 16 items. Items are unique. Each item: at least 1 character.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mode`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[`lexical matches words, semantic matches meaning, hybrid combines both; the server default is hybrid`,_jsx(`br`,{}),_jsx(`br`,{}),`One of `,_jsx(_components.code,{children:`lexical`}),`, `,_jsx(_components.code,{children:`semantic`}),`, `,_jsx(_components.code,{children:`hybrid`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`profile`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`no`}),_jsx(_components.td,{children:`search profile name (for example deep, when the deployment’s retrieval plugin declares it; GET /v0/search/profiles lists them); the server default is default`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`limit`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[`maximum number of hits; the server default is 10`,_jsx(`br`,{}),_jsx(`br`,{}),`Minimum 1. Maximum 50.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filter`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`no`}),_jsx(_components.td,{children:`narrow the search before ranking`})]})]})]}),`\n`,_jsx(Accordion,{title:`Input schema`,id:`input-schema-1`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`67`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`67`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additionalProperties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"corpus_ids\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8192`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"what to look for, in natural language or keywords\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"corpus_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"array\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minItems\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxItems\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`16`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uniqueItems\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Corpora to search, from list_corpora\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"lexical\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"semantic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hybrid\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lexical matches words, semantic matches meaning, hybrid combines both; the server default is hybrid\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"profile\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pattern\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"^[a-z][a-z0-9_]{0,31}$\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"search profile name (for example deep, when the deployment's retrieval plugin declares it; GET /v0/search/profiles lists them); the server default is default\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"integer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minimum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maximum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"maximum number of hits; the server default is 10\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additionalProperties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minProperties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"narrow the search before ranking\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source_namespaces\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"array\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minItems\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxItems\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uniqueItems\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"keep only Records from these Source Namespaces (a Record's source.namespace); the best matches of these sources are returned even when others rank higher\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`tool-read_record`,children:`Tool read_record`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Read a Record`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Read-only`}),_jsx(_components.th,{children:`Idempotent`}),_jsx(_components.th,{children:`Profiles`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`yes: the tool changes no data`}),_jsx(_components.td,{children:`yes: repeating the same call has no further effect`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`#profile-read`,children:_jsx(_components.code,{children:`read`})}),`, `,_jsx(_components.a,{href:`#profile-ingest`,children:_jsx(_components.code,{children:`ingest`})})]})]})})]}),`\n`,_jsx(_components.p,{children:`Description the agent receives:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Read a Record and one of its Versions in full, to expand a search hit into its context or check a citation.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Pass the record_id of a hit, and its version_id to read exactly the Version the excerpt came from; omit version_id to read the Record's current Version.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Returns {\"record\": {\"record_id\", \"source\", \"current_version_id\", \"withdrawn\"}, \"version\": {\"version_id\", \"record_id\", \"availability\", \"manifest\", \"processing\", \"relations\", ...}}. version.manifest.parts holds every Part with its key, role and content; a hit's excerpt offsets index the text of the Part whose key is the hit's part_key. When record.current_version_id differs from the Version you cite, a newer Version of the Record exists.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Argument`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`record_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`yes`}),_jsxs(_components.td,{children:[`record_id of a search hit`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 character.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`version_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[`version_id to read; omit for the Record’s current Version`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 character.`]})]})]})]}),`\n`,_jsx(Accordion,{title:`Input schema`,id:`input-schema-2`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additionalProperties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"record_id\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"record_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"record_id of a search hit\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"version_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"version_id to read; omit for the Record's current Version\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`tool-ingest_text`,children:`Tool ingest_text`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Ingest text into a Corpus`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Read-only`}),_jsx(_components.th,{children:`Idempotent`}),_jsx(_components.th,{children:`Profiles`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`no: the tool can change data`}),_jsx(_components.td,{children:`yes: repeating the same call has no further effect`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#profile-ingest`,children:_jsx(_components.code,{children:`ingest`})})})]})})]}),`\n`,_jsx(_components.p,{children:`Description the agent receives:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Add text to a Corpus as a Record, so that search can find it later. Use it to store knowledge worth keeping, such as notes or a document you were given.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`record_key is your stable name for the Record within the Corpus and namespace: sending another text with the same record_key corrects the Record with a new Record Version; earlier Versions stay readable. namespace groups your Records; it defaults to \"mcp\".`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ingestion is asynchronous. The call returns an Ingestion Receipt as soon as the text is accepted: {\"receipt_id\", \"state\", \"outcome\", \"record_id\", \"version_id\", \"availability\", \"processing\", \"diagnostics\", \"source\"}. state is pending, then resolved with an outcome (created, duplicate or conflict). The text is searchable only once availability.searchable is true: call read_receipt with the receipt_id until then.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Retries are safe: idempotency_key defaults to a digest of corpus_id, namespace, record_key and text, so repeating the same call returns the same Receipt instead of a duplicate. When that Receipt's Version has since been replaced by another text for the same record_key, the call ingests the text again so it becomes current once more; to go back while the replacing text is not searchable yet, pass your own idempotency_key. A key you pass controls replay yourself; reusing one with different arguments is refused with idempotency_conflict.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Argument`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`corpus_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`yes`}),_jsxs(_components.td,{children:[`Corpus to add the text to, from list_corpora`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 character.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`record_key`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`yes`}),_jsxs(_components.td,{children:[`your stable name for this Record; the same record_key corrects the same Record`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 character.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`yes`}),_jsxs(_components.td,{children:[`the full text of the Record`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 character.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`namespace`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[`source namespace the record_key belongs to; omit to use mcp`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 character.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`idempotency_key`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[`retry key; omit to derive it from corpus_id, namespace, record_key and text`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 character.`]})]})]})]}),`\n`,_jsx(Accordion,{title:`Input schema`,id:`input-schema-3`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`36`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`36`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additionalProperties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"corpus_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"record_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"corpus_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Corpus to add the text to, from list_corpora\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"record_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your stable name for this Record; the same record_key corrects the same Record\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"the full text of the Record\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"namespace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"source namespace the record_key belongs to; omit to use mcp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"idempotency_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"retry key; omit to derive it from corpus_id, namespace, record_key and text\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`tool-read_receipt`,children:`Tool read_receipt`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Read an Ingestion Receipt`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Read-only`}),_jsx(_components.th,{children:`Idempotent`}),_jsx(_components.th,{children:`Profiles`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`yes: the tool changes no data`}),_jsx(_components.td,{children:`yes: repeating the same call has no further effect`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#profile-ingest`,children:_jsx(_components.code,{children:`ingest`})})})]})})]}),`\n`,_jsx(_components.p,{children:`Description the agent receives:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Read the Ingestion Receipt that ingest_text returned, to follow its text until it is searchable.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Returns {\"receipt_id\", \"state\", \"outcome\", \"record_id\", \"version_id\", \"availability\", \"processing\", \"diagnostics\", \"source\"}. state pending means the text is accepted but not yet processed. state resolved carries an outcome: created (a new Record Version), duplicate (the same text was already the Record's content) or conflict (see diagnostics). availability {\"state\", \"is_current\", \"searchable\"} describes the Record Version and appears once it exists: call again until availability.searchable is true, then search finds the text. Stop calling and report the diagnostics when outcome is conflict, availability.state is quarantined, processing.state is blocked (the diagnostics explain what needs attention), or availability.state is retrieval_ready while is_current is false (a newer text for the same record_key replaced this Version). A Version still building reports is_current false until it becomes current: keep following it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Argument`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`receipt_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`yes`}),_jsxs(_components.td,{children:[`receipt_id returned by ingest_text`,_jsx(`br`,{}),_jsx(`br`,{}),`At least 1 character.`]})]})})]}),`\n`,_jsx(Accordion,{title:`Input schema`,id:`input-schema-4`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additionalProperties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"receipt_id\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"receipt_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minLength\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"receipt_id returned by ingest_text\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"MCP reference","description":"Every MCP profile and tool an AI agent can use, with its arguments.","href":"/reference/mcp"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Profiles","slug":"profiles","depth":2,"children":[]},{"title":"Profile read","slug":"profile-read","depth":2,"children":[]},{"title":"Profile ingest","slug":"profile-ingest","depth":2,"children":[]},{"title":"Tools","slug":"tools","depth":2,"children":[{"title":"Tool list_corpora","slug":"tool-list_corpora","depth":3,"children":[]},{"title":"Tool search","slug":"tool-search","depth":3,"children":[]},{"title":"Tool read_record","slug":"tool-read_record","depth":3,"children":[]},{"title":"Tool ingest_text","slug":"tool-ingest_text","depth":3,"children":[]},{"title":"Tool read_receipt","slug":"tool-read_receipt","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"thevibecompany","siteName":"Quivr","title":"MCP reference - Quivr","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-30T15:20:16.658Z","originalFileLocation":"reference/mcp.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every MCP profile and tool an AI agent can use, with its arguments.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Quivr\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/thevibecompany/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/thevibecompany/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/thevibecompany/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/thevibecompany/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"MCP reference - Quivr\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every MCP profile and tool an AI agent can use, with its arguments.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Quivr\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.quivr.thevibecompany.co/reference/mcp\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://thevibecompany.mintlify.site/_mintlify/api/og/v2?division=Command+line\u0026amp;title=MCP+reference\u0026amp;description=Every+MCP+profile+and+tool+an+AI+agent+can+use%2C+with+its+arguments.\u0026amp;theme=023e5d222c667e5b3829d1ff\u0026amp;signature=5559f6680bd4414ba41ab3db11716dcd37bbf60422aa3d3124e2654c7d9525e9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"MCP reference - Quivr\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every MCP profile and tool an AI agent can use, with its arguments.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://thevibecompany.mintlify.site/_mintlify/api/og/v2?division=Command+line\u0026amp;title=MCP+reference\u0026amp;description=Every+MCP+profile+and+tool+an+AI+agent+can+use%2C+with+its+arguments.\u0026amp;theme=023e5d222c667e5b3829d1ff\u0026amp;signature=5559f6680bd4414ba41ab3db11716dcd37bbf60422aa3d3124e2654c7d9525e9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/thevibecompany/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Quivr\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5b3fd6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.quivr.thevibecompany.co/reference/mcp\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/mcp.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.quivr.thevibecompany.co/#organization\",\"name\":\"Quivr\",\"url\":\"https://docs.quivr.thevibecompany.co\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.quivr.thevibecompany.co#website\",\"name\":\"Quivr\",\"url\":\"https://docs.quivr.thevibecompany.co\",\"publisher\":{\"@id\":\"https://docs.quivr.thevibecompany.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.quivr.thevibecompany.co/reference/mcp#webpage\",\"url\":\"https://docs.quivr.thevibecompany.co/reference/mcp\",\"name\":\"MCP reference\",\"description\":\"Every MCP profile and tool an AI agent can use, with its arguments.\",\"dateModified\":\"2026-09-30T15:20:16.658Z\",\"isPartOf\":{\"@id\":\"https://docs.quivr.thevibecompany.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.quivr.thevibecompany.co/reference/mcp#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.quivr.thevibecompany.co/reference/mcp#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Command line\",\"item\":\"https://docs.quivr.thevibecompany.co/reference/cli\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MCP reference\",\"item\":\"https://docs.quivr.thevibecompany.co/reference/mcp\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.quivr.thevibecompany.co/reference/mcp#article\",\"headline\":\"MCP reference\",\"name\":\"MCP reference\",\"description\":\"Every MCP profile and tool an AI agent can use, with its arguments.\",\"url\":\"https://docs.quivr.thevibecompany.co/reference/mcp\",\"mainEntityOfPage\":{\"@id\":\"https://docs.quivr.thevibecompany.co/reference/mcp#webpage\"},\"dateModified\":\"2026-09-30T15:20:16.658Z\",\"publisher\":{\"@id\":\"https://docs.quivr.thevibecompany.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.quivr.thevibecompany.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Quivr\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Quivr\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference/mcp.md","siteName":"Quivr","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Reference","groups":[{"group":"Quivr 2","pages":[{"title":"Versions and compatibility","href":"/reference/compatibility"},{"title":"Known limits","href":"/reference/known-limits"}]},{"group":"HTTP API","pages":[{"title":"API overview","href":"/api-reference/overview"}]},{"group":"Endpoints","pages":[{"group":"Version","pages":[{"title":"Read the running Quivr build","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/version","href":"/api-reference/version/read-the-running-quivr-build"}]},{"group":"Records","pages":[{"title":"List records","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/records","href":"/api-reference/records/list-records"},{"title":"Ingest record","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/records","href":"/api-reference/records/ingest-record"},{"title":"Count records","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/records/count","href":"/api-reference/records/count-records"},{"title":"Ingest batch","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/records/batch","href":"/api-reference/records/ingest-batch"},{"title":"Withdraw record","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/records/withdrawals","href":"/api-reference/records/withdraw-record"},{"title":"Get record","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/records/{record_id}","href":"/api-reference/records/get-record"},{"title":"Get version","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/records/{record_id}/versions/{version_id}","href":"/api-reference/records/get-version"}]},{"group":"Facets","pages":[{"title":"Count facets","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/facets","href":"/api-reference/facets/count-facets"}]},{"group":"Corpora","pages":[{"title":"Get corpus stats","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/corpora/{corpus_id}/stats","href":"/api-reference/corpora/get-corpus-stats"},{"title":"List corpora","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/corpora","href":"/api-reference/corpora/list-corpora"},{"title":"Create corpus","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/corpora","href":"/api-reference/corpora/create-corpus"},{"title":"Get corpus","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/corpora/{corpus_id}","href":"/api-reference/corpora/get-corpus"},{"title":"Rename corpus","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v0/corpora/{corpus_id}","href":"/api-reference/corpora/rename-corpus"},{"title":"Archive corpus","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/corpora/{corpus_id}/archive","href":"/api-reference/corpora/archive-corpus"},{"title":"Unarchive corpus","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/corpora/{corpus_id}/unarchive","href":"/api-reference/corpora/unarchive-corpus"},{"title":"Configure retrieval","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v0/corpora/{corpus_id}/retrieval","href":"/api-reference/corpora/configure-retrieval"},{"title":"List vector spaces","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/corpora/{corpus_id}/vector-spaces","href":"/api-reference/corpora/list-vector-spaces"},{"title":"Rebuild corpus projection","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/corpora/{corpus_id}/rebuilds","href":"/api-reference/corpora/rebuild-corpus-projection"}]},{"group":"Ingestion receipts","pages":[{"title":"Get receipt","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/ingestion-receipts/{receipt_id}","href":"/api-reference/ingestion-receipts/get-receipt"}]},{"group":"Uploads","pages":[{"title":"Create upload","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/uploads","href":"/api-reference/uploads/create-upload"},{"title":"Confirm upload","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/uploads/{upload_id}/confirm","href":"/api-reference/uploads/confirm-upload"},{"title":"Get upload","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/uploads/{upload_id}","href":"/api-reference/uploads/get-upload"}]},{"group":"Blobs","pages":[{"title":"Get blob","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/blobs/{blob_id}","href":"/api-reference/blobs/get-blob"}]},{"group":"Operations","pages":[{"title":"Get operation","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/operations/{operation_id}","href":"/api-reference/operations/get-operation"},{"title":"Cancel operation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/operations/{operation_id}/cancel","href":"/api-reference/operations/cancel-operation"},{"title":"Rerun operation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/operations/{operation_id}/rerun","href":"/api-reference/operations/rerun-operation"},{"title":"Pause operation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/operations/{operation_id}/pause","href":"/api-reference/operations/pause-operation"},{"title":"Resume operation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/operations/{operation_id}/resume","href":"/api-reference/operations/resume-operation"}]},{"group":"Changes","pages":[{"title":"Poll changes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/changes","href":"/api-reference/changes/poll-changes"},{"title":"Stream changes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/changes/stream","href":"/api-reference/changes/stream-changes"}]},{"group":"Saved queries","pages":[{"title":"Create saved query","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/saved-queries","href":"/api-reference/saved-queries/create-saved-query"},{"title":"Get saved query","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/saved-queries/{saved_query_id}","href":"/api-reference/saved-queries/get-saved-query"},{"title":"Get saved query version","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/saved-queries/{saved_query_id}/versions/{version_id}","href":"/api-reference/saved-queries/get-saved-query-version"},{"title":"Create saved query version","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/saved-queries/{saved_query_id}/versions","href":"/api-reference/saved-queries/create-saved-query-version"},{"title":"Delete saved query","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/saved-queries/{saved_query_id}/delete","href":"/api-reference/saved-queries/delete-saved-query"},{"title":"Rename saved query","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/saved-queries/{saved_query_id}/rename","href":"/api-reference/saved-queries/rename-saved-query"}]},{"group":"Subscriptions","pages":[{"title":"List subscriptions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/subscriptions","href":"/api-reference/subscriptions/list-subscriptions"},{"title":"Create subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/subscriptions","href":"/api-reference/subscriptions/create-subscription"},{"title":"Get subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/subscriptions/{subscription_id}","href":"/api-reference/subscriptions/get-subscription"},{"title":"Get subscription version","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/subscriptions/{subscription_id}/versions/{version_id}","href":"/api-reference/subscriptions/get-subscription-version"},{"title":"Create subscription version","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/subscriptions/{subscription_id}/versions","href":"/api-reference/subscriptions/create-subscription-version"},{"title":"Delete subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/subscriptions/{subscription_id}/delete","href":"/api-reference/subscriptions/delete-subscription"},{"title":"Disable subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/subscriptions/{subscription_id}/disable","href":"/api-reference/subscriptions/disable-subscription"},{"title":"Enable subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/subscriptions/{subscription_id}/enable","href":"/api-reference/subscriptions/enable-subscription"},{"title":"Rename subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/subscriptions/{subscription_id}/rename","href":"/api-reference/subscriptions/rename-subscription"}]},{"group":"Subscription previews","pages":[{"title":"Preview subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/subscription-previews","href":"/api-reference/subscription-previews/preview-subscription"}]},{"group":"Matches","pages":[{"title":"List matches","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/matches","href":"/api-reference/matches/list-matches"},{"title":"Get match","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/matches/{match_id}","href":"/api-reference/matches/get-match"}]},{"group":"Deliveries","pages":[{"title":"Get delivery","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/deliveries/{delivery_id}","href":"/api-reference/deliveries/get-delivery"},{"title":"List delivery attempts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/deliveries/{delivery_id}/attempts","href":"/api-reference/deliveries/list-delivery-attempts"}]},{"group":"Connectors","pages":[{"title":"List connectors","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/connectors","href":"/api-reference/connectors/list-connectors"},{"title":"Create connector","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/connectors","href":"/api-reference/connectors/create-connector"},{"title":"List push token metadata","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/connectors/{connector_id}/tokens","href":"/api-reference/connectors/list-push-token-metadata"},{"title":"Issue a source-scoped push token","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/connectors/{connector_id}/tokens","href":"/api-reference/connectors/issue-a-source-scoped-push-token"},{"title":"Replace a push token with five minutes of overlap","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/connectors/{connector_id}/tokens/{token_id}/rotate","href":"/api-reference/connectors/replace-a-push-token-with-five-minutes-of-overlap"},{"title":"Revoke a push token immediately","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v0/connectors/{connector_id}/tokens/{token_id}","href":"/api-reference/connectors/revoke-a-push-token-immediately"},{"title":"Answer a declared source challenge","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/connectors/{connector_id}/api/{path}","href":"/api-reference/connectors/answer-a-declared-source-challenge"},{"title":"Push data to a declared source route","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/connectors/{connector_id}/api/{path}","href":"/api-reference/connectors/push-data-to-a-declared-source-route"},{"title":"Get connector","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/connectors/{connector_id}","href":"/api-reference/connectors/get-connector"},{"title":"Disable connector","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/connectors/{connector_id}/disable","href":"/api-reference/connectors/disable-connector"},{"title":"Pause connector","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/connectors/{connector_id}/pause","href":"/api-reference/connectors/pause-connector"},{"title":"Resume connector","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/connectors/{connector_id}/resume","href":"/api-reference/connectors/resume-connector"},{"title":"Replace connector credential","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v0/connectors/{connector_id}/credential","href":"/api-reference/connectors/replace-connector-credential"},{"title":"Change connector schedule","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v0/connectors/{connector_id}/schedule","href":"/api-reference/connectors/change-connector-schedule"},{"title":"Request connector run","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/connectors/{connector_id}/runs","href":"/api-reference/connectors/request-connector-run"}]},{"group":"Connector webhooks","pages":[{"title":"Relay connector challenge","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/connector-webhooks/{connector_id}","href":"/api-reference/connector-webhooks/relay-connector-challenge"},{"title":"Relay connector delivery","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/connector-webhooks/{connector_id}","href":"/api-reference/connector-webhooks/relay-connector-delivery"}]},{"group":"Connector kinds","pages":[{"title":"List connector kinds","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/connector-kinds","href":"/api-reference/connector-kinds/list-connector-kinds"}]},{"group":"Admin","pages":[{"title":"List audit events","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/audit","href":"/api-reference/admin/list-audit-events"},{"title":"List plugin registrations","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/plugins","href":"/api-reference/admin/list-plugin-registrations"},{"title":"Register plugin","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/admin/plugins","href":"/api-reference/admin/register-plugin"},{"title":"Get plugin registration","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/plugins/{registration_id}","href":"/api-reference/admin/get-plugin-registration"},{"title":"Activate plugin","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/admin/plugins/{registration_id}/activate","href":"/api-reference/admin/activate-plugin"},{"title":"Get pipeline plan","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/plugins/plans/{plan_id}","href":"/api-reference/admin/get-pipeline-plan"},{"title":"List pipeline plans","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/plugins/plans","href":"/api-reference/admin/list-pipeline-plans"},{"title":"Request backfill","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/admin/backfills","href":"/api-reference/admin/request-backfill"},{"title":"Promote vector space","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/admin/spaces/{vector_space_id}/promote","href":"/api-reference/admin/promote-vector-space"},{"title":"Get queue backlog","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/queues","href":"/api-reference/admin/get-queue-backlog"},{"title":"List quarantined versions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/quarantine","href":"/api-reference/admin/list-quarantined-versions"},{"title":"Reprocess quarantine","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/admin/quarantine/reprocess","href":"/api-reference/admin/reprocess-quarantine"},{"title":"Migrate subscription evaluators","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/admin/subscriptions/evaluator-migrations","href":"/api-reference/admin/migrate-subscription-evaluators"},{"title":"List evaluation backlog","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/subscriptions/evaluation-backlog","href":"/api-reference/admin/list-evaluation-backlog"},{"title":"Retire evaluations","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/admin/subscriptions/evaluation-retirements","href":"/api-reference/admin/retire-evaluations"},{"title":"Get evaluation retirement","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/subscriptions/evaluation-retirements/{retirement_id}","href":"/api-reference/admin/get-evaluation-retirement"},{"title":"Rollback pipeline plan","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/admin/plugins/plan/rollback","href":"/api-reference/admin/rollback-pipeline-plan"},{"title":"Get active pipeline plan","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/plugins/plan","href":"/api-reference/admin/get-active-pipeline-plan"},{"title":"List active plugins","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/active-plugins","href":"/api-reference/admin/list-active-plugins"},{"title":"List admin documents","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/documents","href":"/api-reference/admin/list-admin-documents"},{"title":"Get document timeline","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/documents/{version_id}/timeline","href":"/api-reference/admin/get-document-timeline"},{"title":"Count accepted and refused pushes per source instance","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/stats/connector-pushes","href":"/api-reference/admin/count-accepted-and-refused-pushes-per-source-instance"},{"title":"Get plugin call stats","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/stats/plugins","href":"/api-reference/admin/get-plugin-call-stats"},{"title":"Get search stats","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/stats/searches","href":"/api-reference/admin/get-search-stats"},{"title":"Get step stats","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/stats/steps","href":"/api-reference/admin/get-step-stats"},{"title":"Get received stats","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/stats/received","href":"/api-reference/admin/get-received-stats"},{"title":"Get match stats","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/stats/matches","href":"/api-reference/admin/get-match-stats"},{"title":"Get top queries","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/admin/stats/top-queries","href":"/api-reference/admin/get-top-queries"}]},{"group":"Search","pages":[{"title":"Search records","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v0/search","href":"/api-reference/search/search-records"},{"title":"List search profiles","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v0/search/profiles","href":"/api-reference/search/list-search-profiles"}]},{"group":"Webhooks","pages":[{"title":"Receive monitoring notification","version":null,"deprecated":null,"openapi":"/openapi.yaml webhook monitoringNotification","href":"/api-reference/webhooks/receive-monitoring-notification"}]}]},{"group":"Command line","pages":[{"title":"Command-line reference","description":"Every quivr command, what it needs to run, its flags and exit codes.","href":"/reference/cli"},{"title":"MCP reference","href":"/reference/mcp"}]},{"group":"Plugins","pages":[{"title":"Plugin manifest","description":"Every field of quivr-plugin.yaml, generated from its JSON Schema.","href":"/reference/plugin-manifest"},{"title":"Plugin protocol","href":"/reference/plugin-protocol"}]},{"group":"Deployment","pages":[{"title":"Configuration","href":"/reference/configuration"}]}]}]},"basePath":"","title":"MCP reference - Quivr","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":[],"chunks":[]}