codex_get_agent_contract
Retrieve the full machine-readable agent contract for this MCP server, including detailed examples, when tools/list metadata is unavailable.
Instructions
Read the machine-readable agent guide for this MCP server. Use this when tools/list metadata was unavailable or when a client wants the full contract examples. It is passive and the next normal startup call is codex_health_summary.
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": "codex_get_agent_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | compact | |
| client_type | No | ||
| include_examples | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |