{"at":"2026-11-23T00:07:18.329Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:07:19.034Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"simap","version":"1.6.0"}},"cacheScope":"private","capabilities":{"completions":{},"logging":{},"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":true},"tools":{"listChanged":true}},"resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T00:07:19.034Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:07:19.037Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"simap","version":"1.6.0"}},"cacheScope":"private","resultType":"complete","tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search Tenders"},"description":"Search public tenders on simap.ch with filters by date, canton, CPV codes, and other criteria","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"bkpCodes":{"description":"BKP codes for construction (e.g., 211 for masonry)","items":{"pattern":"^[0-9]{1,3}(\\.[0-9])?$","type":"string"},"maxItems":50,"type":"array"},"cantons":{"description":"Swiss cantons (e.g., BE, VD, GE, ZH)","items":{"enum":["AG","AI","AR","BE","BL","BS","FR","GE","GL","GR","JU","LU","NE","NW","OW","SG","SH","SO","SZ","TG","TI","UR","VD","VS","ZG","ZH"],"type":"string"},"maxItems":26,"type":"array"},"cpvCodes":{"description":"CPV codes (8 digits, e.g., 72000000 for IT services)","items":{"pattern":"^[0-9]{8}$","type":"string"},"maxItems":50,"type":"array"},"issuedByOrganizations":{"description":"UUIDs of issuing organizations","items":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"maxItems":50,"type":"array"},"lang":{"default":"en","description":"Preferred language for results","enum":["de","fr","it","en"],"type":"string"},"lastItem":{"description":"Pagination token (format: date|projectNumber) to retrieve the next page","pattern":"^\\d{8}\\|.+$","type":"string"},"processTypes":{"description":"Process types (open, selective, invitation, direct, no_process)","items":{"enum":["open","selective","invitation","direct","no_process"],"type":"string"},"maxItems":5,"type":"array"},"projectSubTypes":{"description":"Project types to filter","items":{"enum":["construction","service","supply","project_competition","idea_competition","overall_performance_competition","project_study","idea_study","overall_performance_study","request_for_information"],"type":"string"},"maxItems":10,"type":"array"},"pubTypes":{"description":"Publication types (tender, award_tender, correction, etc.)","items":{"enum":["advance_notice","request_for_information","tender","competition","study_contract","award_tender","award_study_contract","award_competition","direct_award","participant_selection","selective_offering_phase","correction","revocation","abandonment"],"type":"string"},"maxItems":14,"type":"array"},"publicationFrom":{"description":"Publication start date (format YYYY-MM-DD)","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"publicationUntil":{"description":"Publication end date (format YYYY-MM-DD)","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"search":{"description":"Search text (min 3 characters)","maxLength":500,"minLength":3,"type":"string"}},"type":"object"},"name":"search_tenders","title":"Search Tenders"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get Tender Details"},"description":"Get detailed information about a specific tender","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"fullRaw":{"default":false,"description":"Include the complete unmodified API response as JSON at the end of the output. Verbose — only enable when the structured fields are insufficient.","type":"boolean"},"lang":{"default":"en","description":"Preferred language","enum":["de","fr","it","en"],"type":"string"},"projectId":{"description":"Project ID (UUID)","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"publicationId":{"description":"Publication ID (UUID). Defaults to the project's latest publication when omitted.","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["projectId"],"type":"object"},"name":"get_tender_details","title":"Get Tender Details"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search CPV Codes"},"description":"Search CPV (Common Procurement Vocabulary) codes by keyword or partial code number","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Search language","enum":["de","fr","it","en"],"type":"string"},"query":{"description":"Search term (keyword or code prefix)","maxLength":500,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_cpv_codes","title":"Search CPV Codes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"List Cantons"},"description":"List all Swiss cantons with their codes (useful for search filters)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"type":"object"},"name":"list_cantons","title":"List Cantons"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search BKP Codes"},"description":"Search BKP (Swiss construction cost plan) codes by keyword or number","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Search language","enum":["de","fr","it","en"],"type":"string"},"query":{"description":"Search term (keyword or code number)","maxLength":500,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_bkp_codes","title":"Search BKP Codes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search NPK Codes"},"description":"Search NPK (standardized positions catalog) codes by keyword or number","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Search language","enum":["de","fr","it","en"],"type":"string"},"query":{"description":"Search term (keyword or code number)","maxLength":500,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_npk_codes","title":"Search NPK Codes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search OAG Codes"},"description":"Search OAG (object type classification) codes by keyword or number","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Search language","enum":["de","fr","it","en"],"type":"string"},"query":{"description":"Search term (keyword or code number)","maxLength":500,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_oag_codes","title":"Search OAG Codes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Browse CPV Tree"},"description":"Browse the CPV code hierarchy (shows subcategories of a parent code)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Display language","enum":["de","fr","it","en"],"type":"string"},"parentCode":{"description":"Parent code (8 digits). If omitted, shows root categories","pattern":"^[0-9]{8}$","type":"string"}},"type":"object"},"name":"browse_cpv_tree","title":"Browse CPV Tree"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Browse BKP Tree"},"description":"Browse the BKP code hierarchy (Swiss construction cost plan)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Display language","enum":["de","fr","it","en"],"type":"string"},"parentCode":{"description":"Parent BKP code. If omitted, shows root categories","pattern":"^[0-9]{1,3}(\\.[0-9])?$","type":"string"}},"type":"object"},"name":"browse_bkp_tree","title":"Browse BKP Tree"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Browse NPK Tree"},"description":"Browse the NPK code hierarchy (standardized positions catalog)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Display language","enum":["de","fr","it","en"],"type":"string"},"parentCode":{"description":"Parent NPK code. If omitted, shows root categories","pattern":"^[0-9]{1,10}$","type":"string"}},"type":"object"},"name":"browse_npk_tree","title":"Browse NPK Tree"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Browse OAG Tree"},"description":"Browse the OAG code hierarchy (object type classification)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Display language","enum":["de","fr","it","en"],"type":"string"},"parentCode":{"description":"Parent OAG code. If omitted, shows root categories","pattern":"^[0-9]{1,10}$","type":"string"}},"type":"object"},"name":"browse_oag_tree","title":"Browse OAG Tree"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"List Institutions"},"description":"List Swiss public institutions (Confederation, cantons, municipalities) that publish tenders","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Language for names","enum":["de","fr","it","en"],"type":"string"},"search":{"description":"Filter by name (min 3 characters)","maxLength":500,"minLength":3,"type":"string"}},"type":"object"},"name":"list_institutions","title":"List Institutions"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get Publication History"},"description":"Get the publication history for a project (corrections, awards, etc.)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lotId":{"description":"Lot ID (optional, to filter by lot)","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"publicationId":{"description":"Current publication ID (UUID)","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["publicationId"],"type":"object"},"name":"get_publication_history","title":"Get Publication History"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search Procurement Offices"},"description":"Search public procurement offices by name or institution","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"institutionId":{"description":"Filter by parent institution (UUID)","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"search":{"description":"Name to search (min 3 characters)","maxLength":500,"minLength":3,"type":"string"}},"type":"object"},"name":"search_proc_offices","title":"Search Procurement Offices"}],"ttlMs":0}}}
{"at":"2026-11-23T00:07:19.188Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:07:19.932Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"completions":{},"logging":{},"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":true},"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"simap","version":"1.6.0"}}}}
{"at":"2026-11-23T00:07:19.932Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:07:19.932Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:07:19.935Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search Tenders"},"description":"Search public tenders on simap.ch with filters by date, canton, CPV codes, and other criteria","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"bkpCodes":{"description":"BKP codes for construction (e.g., 211 for masonry)","items":{"pattern":"^[0-9]{1,3}(\\.[0-9])?$","type":"string"},"maxItems":50,"type":"array"},"cantons":{"description":"Swiss cantons (e.g., BE, VD, GE, ZH)","items":{"enum":["AG","AI","AR","BE","BL","BS","FR","GE","GL","GR","JU","LU","NE","NW","OW","SG","SH","SO","SZ","TG","TI","UR","VD","VS","ZG","ZH"],"type":"string"},"maxItems":26,"type":"array"},"cpvCodes":{"description":"CPV codes (8 digits, e.g., 72000000 for IT services)","items":{"pattern":"^[0-9]{8}$","type":"string"},"maxItems":50,"type":"array"},"issuedByOrganizations":{"description":"UUIDs of issuing organizations","items":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"maxItems":50,"type":"array"},"lang":{"default":"en","description":"Preferred language for results","enum":["de","fr","it","en"],"type":"string"},"lastItem":{"description":"Pagination token (format: date|projectNumber) to retrieve the next page","pattern":"^\\d{8}\\|.+$","type":"string"},"processTypes":{"description":"Process types (open, selective, invitation, direct, no_process)","items":{"enum":["open","selective","invitation","direct","no_process"],"type":"string"},"maxItems":5,"type":"array"},"projectSubTypes":{"description":"Project types to filter","items":{"enum":["construction","service","supply","project_competition","idea_competition","overall_performance_competition","project_study","idea_study","overall_performance_study","request_for_information"],"type":"string"},"maxItems":10,"type":"array"},"pubTypes":{"description":"Publication types (tender, award_tender, correction, etc.)","items":{"enum":["advance_notice","request_for_information","tender","competition","study_contract","award_tender","award_study_contract","award_competition","direct_award","participant_selection","selective_offering_phase","correction","revocation","abandonment"],"type":"string"},"maxItems":14,"type":"array"},"publicationFrom":{"description":"Publication start date (format YYYY-MM-DD)","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"publicationUntil":{"description":"Publication end date (format YYYY-MM-DD)","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"search":{"description":"Search text (min 3 characters)","maxLength":500,"minLength":3,"type":"string"}},"type":"object"},"name":"search_tenders","title":"Search Tenders"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get Tender Details"},"description":"Get detailed information about a specific tender","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"fullRaw":{"default":false,"description":"Include the complete unmodified API response as JSON at the end of the output. Verbose — only enable when the structured fields are insufficient.","type":"boolean"},"lang":{"default":"en","description":"Preferred language","enum":["de","fr","it","en"],"type":"string"},"projectId":{"description":"Project ID (UUID)","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"publicationId":{"description":"Publication ID (UUID). Defaults to the project's latest publication when omitted.","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["projectId"],"type":"object"},"name":"get_tender_details","title":"Get Tender Details"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search CPV Codes"},"description":"Search CPV (Common Procurement Vocabulary) codes by keyword or partial code number","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Search language","enum":["de","fr","it","en"],"type":"string"},"query":{"description":"Search term (keyword or code prefix)","maxLength":500,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_cpv_codes","title":"Search CPV Codes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"List Cantons"},"description":"List all Swiss cantons with their codes (useful for search filters)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"type":"object"},"name":"list_cantons","title":"List Cantons"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search BKP Codes"},"description":"Search BKP (Swiss construction cost plan) codes by keyword or number","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Search language","enum":["de","fr","it","en"],"type":"string"},"query":{"description":"Search term (keyword or code number)","maxLength":500,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_bkp_codes","title":"Search BKP Codes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search NPK Codes"},"description":"Search NPK (standardized positions catalog) codes by keyword or number","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Search language","enum":["de","fr","it","en"],"type":"string"},"query":{"description":"Search term (keyword or code number)","maxLength":500,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_npk_codes","title":"Search NPK Codes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search OAG Codes"},"description":"Search OAG (object type classification) codes by keyword or number","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Search language","enum":["de","fr","it","en"],"type":"string"},"query":{"description":"Search term (keyword or code number)","maxLength":500,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_oag_codes","title":"Search OAG Codes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Browse CPV Tree"},"description":"Browse the CPV code hierarchy (shows subcategories of a parent code)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Display language","enum":["de","fr","it","en"],"type":"string"},"parentCode":{"description":"Parent code (8 digits). If omitted, shows root categories","pattern":"^[0-9]{8}$","type":"string"}},"type":"object"},"name":"browse_cpv_tree","title":"Browse CPV Tree"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Browse BKP Tree"},"description":"Browse the BKP code hierarchy (Swiss construction cost plan)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Display language","enum":["de","fr","it","en"],"type":"string"},"parentCode":{"description":"Parent BKP code. If omitted, shows root categories","pattern":"^[0-9]{1,3}(\\.[0-9])?$","type":"string"}},"type":"object"},"name":"browse_bkp_tree","title":"Browse BKP Tree"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Browse NPK Tree"},"description":"Browse the NPK code hierarchy (standardized positions catalog)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Display language","enum":["de","fr","it","en"],"type":"string"},"parentCode":{"description":"Parent NPK code. If omitted, shows root categories","pattern":"^[0-9]{1,10}$","type":"string"}},"type":"object"},"name":"browse_npk_tree","title":"Browse NPK Tree"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Browse OAG Tree"},"description":"Browse the OAG code hierarchy (object type classification)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Display language","enum":["de","fr","it","en"],"type":"string"},"parentCode":{"description":"Parent OAG code. If omitted, shows root categories","pattern":"^[0-9]{1,10}$","type":"string"}},"type":"object"},"name":"browse_oag_tree","title":"Browse OAG Tree"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"List Institutions"},"description":"List Swiss public institutions (Confederation, cantons, municipalities) that publish tenders","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lang":{"default":"en","description":"Language for names","enum":["de","fr","it","en"],"type":"string"},"search":{"description":"Filter by name (min 3 characters)","maxLength":500,"minLength":3,"type":"string"}},"type":"object"},"name":"list_institutions","title":"List Institutions"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get Publication History"},"description":"Get the publication history for a project (corrections, awards, etc.)","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"lotId":{"description":"Lot ID (optional, to filter by lot)","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"publicationId":{"description":"Current publication ID (UUID)","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["publicationId"],"type":"object"},"name":"get_publication_history","title":"Get Publication History"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search Procurement Offices"},"description":"Search public procurement offices by name or institution","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"institutionId":{"description":"Filter by parent institution (UUID)","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"search":{"description":"Name to search (min 3 characters)","maxLength":500,"minLength":3,"type":"string"}},"type":"object"},"name":"search_proc_offices","title":"Search Procurement Offices"}]}}}
