# GovInfo publication search

Search official US federal publications on GovInfo (GPO): bills, public laws, Congressional Record, congressional reports and hearings, Federal Register, CFR. Needs query.

Search official US federal publications on GovInfo (GPO): bills, public laws, Congressional Record, congressional reports and hearings, Federal Register, CFR, US Code, court opinions, budget. Supports field queries such as 'collection:(CRPT) and "artificial intelligence"'. Returns title, packageId, dates, collection and download links.

- Tool ID: `govinfo/search`
- Provider: [GovInfo](/providers/govinfo.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 500,
      "description": "GovInfo search query, e.g. 'collection:(CRPT) and \"artificial intelligence\"'"
    },
    "sort": {
      "type": "string",
      "enum": [
        "relevance",
        "newest",
        "oldest"
      ],
      "default": "relevance",
      "description": "Order by relevance or publish date, e.g. 'newest'"
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Results per page (1-50), e.g. 10"
    },
    "offset_mark": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "default": "*",
      "description": "Paging cursor: '*' for the first page, then offsetMark from the previous response"
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "govinfo/search",
  "input": {
    "query": "collection:(CRPT) and \"artificial intelligence\"",
    "page_size": 3
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Public domain (U.S. Government work).

Attribution: Data from GovInfo (U.S. Government Publishing Office).

[Provider documentation](https://github.com/usgpo/api)

[REST inspection](https://api.agentik.cc/v1/tools/govinfo/search) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/govinfo/search) · [Agent index](/llms.txt)
