get_office_action_text
Pack: uspto-office-actions · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_office_action_text for the schema, then POST the same URL with its arguments for the data.
Fetch one USPTO office action’s full text. Pass document_id (from search_office_actions’ document_id field) for an exact match, or application_number + mail_date to look it up by application and date. Returns the office action body text, its character length, and a truncation flag.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
document_id | string | no | The office action’s document id, as returned by search_office_actions (field document_id). |
application_number | string | no | US patent application number — use with mail_date when you do not have a document_id. |
mail_date | string | no | The office action mail date (ISO YYYY-MM-DD), from search_office_actions’ mail_date field. Required when document_id is not given. |
_apiKey | string | no | USPTO ODP API key. Get free at https://data.uspto.gov/myodp. |
Example call
Arguments
{
"application_number": "17248024",
"mail_date": "2023-01-03"
}
curl
curl -X POST https://gateway.pipeworx.io/uspto-office-actions/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_office_action_text","arguments":{"application_number":"17248024","mail_date":"2023-01-03"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_office_action_text', {
"application_number": "17248024",
"mail_date": "2023-01-03"
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the uspto-office-actions pack
{
"mcpServers": {
"uspto-office-actions": {
"url": "https://gateway.pipeworx.io/uspto-office-actions/mcp"
}
}
}
See Getting Started for client-specific install steps.