# eCFR regulation text search

Full-text search of the Code of Federal Regulations (eCFR): matching sections with title, part, section number, headings, an excerpt and the dates each version. Needs query.

Full-text search of the Code of Federal Regulations (eCFR): matching sections with title, part, section number, headings, an excerpt and the dates each version was in force. Filter by CFR title, agency slugs and a date to only get text in force that day.

- Tool ID: `ecfr/search`
- Provider: [eCFR](/providers/ecfr.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": 300,
      "description": "Search text, e.g. 'beneficial ownership'"
    },
    "title": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "description": "CFR title number, e.g. 31"
    },
    "agency_slugs": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[a-z0-9-]+$"
      },
      "minItems": 1,
      "maxItems": 5,
      "description": "Agency slugs, e.g. ['treasury-department']"
    },
    "date": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "description": "Only text in force on this date (YYYY-MM-DD), e.g. '2025-01-01'"
    },
    "per_page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Results per page (1-50), e.g. 10"
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 1,
      "description": "Page number, e.g. 1"
    }
  },
  "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": "ecfr/search",
  "input": {
    "query": "beneficial ownership",
    "title": 31,
    "date": "2025-01-01",
    "per_page": 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 eCFR.gov (Office of the Federal Register, National Archives).

[Provider documentation](https://www.ecfr.gov/developers/documentation/api/v1)

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

---

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