{ "name": "summarize_document", "description": "Generate intelligent summaries of documents with customizable parameters", "parameters": { "type": "object", "properties": { "document_url": { "type": "string", "description": "URL or file path to the document", "format": "uri" }, "document_text": { "type": "string", "description": "Raw text content (alternative to document_url)" }, "summary_length": { "type": "string", "enum": ["brief", "medium", "detailed"], "description": "Desired summary length", "default": "medium" }, "focus_areas": { "type": "array", "items": { "type": "string" }, "description": "Specific topics to focus on in summary" }, "include_keywords": { "type": "boolean", "description": "Include key terms extraction", "default": true }, "target_audience": { "type": "string", "enum": ["general", "technical", "executive", "academic"], "description": "Tailor summary for specific audience", "default": "general" } }, "required": ["document_url"], "anyOf": [ {"required": ["document_url"]}, {"required": ["document_text"]} ] }, "test_questions": [ "Summarize this research paper at https://example.com/paper.pdf for executives", "Create a brief summary of this text focusing on financial implications: 'The quarterly report shows...'", "Generate a detailed technical summary of the API documentation with keywords" ] }