Get the text content of specific pages or line numbers. Use tight ranges: e.g. '5-7' for pages 5 to 7, '3,8' for pages 3 and 8, '12' for page 12. For Markdown documents, use line numbers from the structure's line_num field.
(pages: str)
| 71 | |
| 72 | @function_tool |
| 73 | def get_page_content(pages: str) -> str: |
| 74 | """ |
| 75 | Get the text content of specific pages or line numbers. |
| 76 | Use tight ranges: e.g. '5-7' for pages 5 to 7, '3,8' for pages 3 and 8, '12' for page 12. |
| 77 | For Markdown documents, use line numbers from the structure's line_num field. |
| 78 | """ |
| 79 | return client.get_page_content(doc_id, pages) |
| 80 | |
| 81 | agent = Agent( |
| 82 | name="PageIndex", |
nothing calls this directly
no test coverage detected