get_document_id_from_title
Find a document's ID using its title, even with partial matches. Useful for referencing or verifying documents in MCP Outline Server operations.
Instructions
Locates a document ID by searching for its title.
IMPORTANT: This tool first checks for exact title matches
(case-insensitive). If none are found, it returns the best partial
match instead. This is useful when you're not sure of the exact title
but need
to reference a document in other operations. Results are more accurate
when you provide more of the actual title in your query.
Use this tool when you need to:
- Find a document's ID when you only know its title
- Get the document ID for use in other operations
- Verify if a document with a specific title exists
- Find the best matching document if exact title is unknown
Args:
query: Title to search for (can be exact or partial)
collection_id: Optional collection to limit the search to
Returns:
Document ID if found, or best match information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection_id | No | ||
query | Yes |
Input Schema (JSON Schema)
{
"properties": {
"collection_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Collection Id"
},
"query": {
"title": "Query",
"type": "string"
}
},
"required": [
"query"
],
"title": "get_document_id_from_titleArguments",
"type": "object"
}