contracts.rules_webmcp

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

Startup contracts for experimental declarative WebMCP forms.

Startup contracts for experimental declarative WebMCP forms.

contracts.rules_webmcp

Name Type Default Description
type
qualified_name
element_type
description
source_file
line_number
is_autodoc
autodoc_element
_autodoc_template
_autodoc_url_path
_autodoc_page_type
title
doc_content_hash

Symbols on this page

check_webmcp_contracts
function
def check_webmcp_contracts(router: Any, template_sources: Mapping[str, str], middleware: Iterable[Any], compile_diagnostics: Iterable[Any], valid_tools: Iterable[str]) -> list[ContractIssue]

Validate opted-in projections and raw agent-visible markup.

Parameters

Name Type Default Description
router Any
template_sources Mapping[str, str]
middleware Iterable[Any]
compile_diagnostics Iterable[Any]
valid_tools Iterable[str]

View source · /home/runner/work/chirp/chirp/site/../src/chirp/contracts/rules_webmcp.py:1