Chparl Search Transcripts
chparl_search_transcriptsFind Amtliches Bulletin passages by business, debate subject, speaker, session, council, passage type, or inclusive meeting dates. Supply at least a business, subject, speaker, session, or date bound. A text substring query additionally requires sessionId or a closed date range of at most 31 calendar days. Searches return metadata by default; includeText returns whole original passages, and an exact transcriptId defaults to full text. Metadata language never translates the speaker text; missing LanguageOfText remains unknown. Business searches cover every associated subject up to 20; a business with more is searched when council, sessionId, or date bounds leave at most 20 of its subjects, and otherwise requires selecting subjectId through chparl_get_business section subjects. subjectBusinesses lists the businesses published for each delivered subjectId; pass a subjectBusinesses[].businesses[].businessId to chparl_get_business or chparl_get_votes. Searches run in debate order, oldest first: meeting day, sitting, debate subject, then speaking order (sortOrder) within the subject. Follow nextOffset with unchanged filters.
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": "chparl_search_transcripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Passage type code: 1 speech, 2 vote announcement, 3 heading or procedural note. Narrows a search; like council, it does not satisfy the scope requirement. Types 2 and 3 carry no speaker, so with personNumber they match nothing. | |
| limit | No | Search page request: metadata default 20/max 100, full text default 3/max 10; clamped with notice. Incompatible with transcriptId. | |
| query | No | One original-text substring; requires sessionId or both dates spanning at most 31 inclusive calendar days. | |
| dateTo | No | Inclusive meeting-day upper bound, YYYY-MM-DD. | |
| offset | No | Search starting row offset, default zero; use returned nextOffset. Incompatible with transcriptId. | |
| council | No | N or S; exact German, French, and Italian council names are also accepted. | |
| dateFrom | No | Inclusive meeting-day lower bound, YYYY-MM-DD. | |
| language | No | Metadata language: de (default), fr, or it; original passage text stays in its published language. | de |
| sessionId | No | Exact positive decimal session identifier from chparl_list_reference topic sessions. | |
| subjectId | No | Positive Int64 debate IdSubject string; incompatible with businessId and transcriptId. | |
| businessId | No | Canonical eight-digit businessId from chparl_search_business or published short number; incompatible with subjectId and transcriptId. | |
| includeText | No | Return whole original text and references; defaults true for transcriptId and false for searches. Explicit false always wins. | |
| personNumber | No | Exact speaker PersonNumber from chparl_search_members. | |
| transcriptId | No | Exact positive Int64 transcriptId from a previous chparl_search_transcripts result; only language and includeText may accompany it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| found | No | Exact-ID mode only: whether the selected passage exists. | |
| notice | No | Combined clamp, empty-result, past-end, unavailable-lookup, or oversized exact-passage guidance. | |
| hasMore | No | Whether passages remain after the delivered search page; absent in exact-ID mode. | |
| guidance | No | How to discover a valid exact passage or missing business identifier. | |
| nextOffset | No | Original offset plus actually delivered passages, when more remain. | |
| provenance | No | Attribution, publication status, and source download dates. | |
| scopeFound | No | Business searches only: whether the business exists, independently of published subjects or passages. | |
| totalCount | No | Exact whole-scope passage count when supplied; absent when a business does not exist. | |
| transcripts | No | Whole matching passages or zero-or-one exact-ID result, without shortening original fields. | |
| returnedCount | No | Passages actually delivered on a search page; absent in exact-ID mode. | |
| effectiveLimit | No | Search page size after metadata or full-text clamping. | |
| effectiveFilters | No | Effective passage filters, disclosure mode, and applicable paging defaults. | |
| subjectBusinesses | No | One entry per distinct subjectId among the delivered passages, in first-appearance order; join passages on subjectId. Absent when no delivered passage has a subject, or when the lookup was unavailable, which a notice reports. |