scan_books_directory
Scan a local folder for PDF and Word books and get total file count, estimated page count, and file sizes, including subdirectories by default.
Instructions
Scans a local directory for PDF and Word books, calculates total file count, estimated pages, and file sizes.
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": {
"directory_path": "<directory_path>"
},
"name": "scan_books_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recursive | No | Whether to scan subdirectories recursively (default: true) | |
| directory_path | Yes | Absolute or relative path to the folder containing books (e.g. "D:/books" or "./my_books") |