MCPcopy Create free account
hub / github.com/VectifyAI/PageIndex / get_page_content

Function get_page_content

examples/agentic_vectorless_rag_demo.py:73–79  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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",

Callers

nothing calls this directly

Calls 1

get_page_contentMethod · 0.80

Tested by

no test coverage detected