find-related-pdfs
Locate and analyze PDF files based on content similarity, using repeating substring patterns or text analysis, to identify related documents within a specified directory.
Instructions
Find a PDF and then search for related PDFs based on its content, including common substring patterns
Input Schema
Name | Required | Description | Default |
---|---|---|---|
base_path | Yes | Base directory to search in | |
min_pattern_occurrences | No | Minimum times a pattern must appear to be considered significant | |
pattern_matching_only | No | Only search for repeating substring patterns | |
target_filename | Yes | Name of the initial PDF to analyze |
Input Schema (JSON Schema)
{
"properties": {
"base_path": {
"description": "Base directory to search in",
"type": "string"
},
"min_pattern_occurrences": {
"default": 2,
"description": "Minimum times a pattern must appear to be considered significant",
"type": "integer"
},
"pattern_matching_only": {
"default": false,
"description": "Only search for repeating substring patterns",
"type": "boolean"
},
"target_filename": {
"description": "Name of the initial PDF to analyze",
"type": "string"
}
},
"required": [
"base_path",
"target_filename"
],
"type": "object"
}