memorize_pdf_file
Chunks a PDF file into meaningful segments and stores them in memory for semantic retrieval based on meaning, not keywords.
Instructions
Chunk the contents of a PDF file into meaningful segments and store them in memory for later retrieval based on relevance in meaning, not just keywords.
Args:
ctx (Context): The context of the request.
file_path (str): The path to the PDF file.
page (int, optional): The starting page number to read from the PDF file. Defaults to 0.
metadata (dict, optional): Metadata to associate with the memorized content.
Returns:
str: A message indicating success or failure of the operation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "memorize_pdf_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| metadata | No | ||
| file_path | Yes |