GOVCON MCP / TOOL REFERENCE / DOCUMENTS AND ANALYSIS
Read an opportunity document
g2x_opportunity_attachment_text
What it does
Returns the complete text of an opportunity document already on file in G2X — solicitation, statement of work, amendment — as Markdown (the stored parse, byte for byte) or as structured JSON (every page with its text and elements). A large document arrives in exact chunks: each result names the whole document's byte count and SHA-256 and, until the last byte, a next_cursor to continue from; nothing is ever cut without saying so. Pass page to read one page instead. Serves stored content only; it never starts a new parse.
Inputs
opportunity_id(text, required): G2X opportunity record identifierattachment_id(text, required): An attachment id from the opportunity's source-documents listformat(text, optional): The whole document as Markdown (the stored parse, byte for byte) or as structured JSON (every page with its text and elements, schema g2x-document-json-v1). Allowed values:markdown,json. Default:markdown.cursor(text, optional): Continue a document (or a page) from a previous result's next_cursor; omit to start at the first byte.page(whole number, optional): Optional narrowing: read only this 1-based page (or section) instead of the whole document. Omit to read the whole document.
What it returns
Depending on the request, one of:
- The whole document as Markdown or JSON, in exact chunks with a cursor to the next one, its size and its checksum.
- One page or section of the document's text, with the next page to read.
Try asking
Read the whole statement of work for this opportunity as Markdown.AI and your account
- Does not use G2X's own AI: your agent does any analysis with its own model.
- Reads only: it changes nothing in your G2X account.