Sync Executive Orders
sync_executive_ordersSync presidential executive orders from the Federal Register API into your local database, including metadata and full text, with incremental mode to fetch only new or missing documents.
Instructions
Sync executive orders from the Federal Register API. Fetches presidential document metadata and full text. Use incremental mode to only fetch new/missing documents.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sync_executive_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| incremental | No | If true, skip documents already in database with full text. If false, re-fetch everything. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | Yes | ||
| total | Yes | ||
| errors | Yes | ||
| newCount | Yes | ||
| updatedCount | Yes |