PubLedge

v0.2.5
io.github.snapsynapse/publedge Checked 7 hours ago Published 2 months ago

Open recordkeeping protocol for JIAs, RMAs, no-action letters, and analogous instruments.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_obligations

List all obligations in the knowledge base. Returns id, title, and group for each.

get_obligation

Get a single obligation by its ID. Returns all frontmatter fields and body content.

ParameterTypeDescription
id *stringThe obligation ID (filename without .md)

list_authorities

List all authorities in the knowledge base.

get_authority

Get a single authority by its ID. Returns all frontmatter fields and body content.

ParameterTypeDescription
id *stringThe authority ID (filename without .md)

get_matrix

Coverage matrix showing which obligations are addressed by which legal instruments.

get_mappings

All mapping entries connecting legal instruments to obligations via terms.

fetch_by_url

Look up a bundled legal instrument by its canonical URL (e.g. https://publedge.org/us/utah/oaip/rma/2025-001/ or /us/utah/oaip/rma/2025-001/). Returns the same complete record as get_legal-instrument, including source and editorial fields where recorded. Does not fetch the URL over the network.

ParameterTypeDescription
url *stringCanonical hierarchical URL or path.

search_obligations

Search only within obligations (obligation titles, IDs, body text). Same query semantics as search but scoped.

ParameterTypeDescription
query *stringSearch query (case-insensitive substring match)

get_upcoming

Return legal instruments with upcoming milestones (enacted, effective, expires dates in the future). Sorted by date ascending.

ParameterTypeDescription
limitnumberMax results to return (default 20).

get_recently_changed

Return legal instruments sorted by last_verified or last changelog entry, most recent first.

ParameterTypeDescription
limitnumberMax results to return (default 20).