extract_rules_from_transcript
Extract candidate coding rules from transcripts by returning clean text, project scopes, existing rules for duplicate checks, and the canonical template; then create a pending proposal per candidate.
Instructions
Return everything the calling LLM needs to extract candidate rules from a transcript: the clean text, the project's scope chain with attributes, existing rules for duplicate detection, and the canonical rule template. Does not itself create any proposal — call create_pending_proposal per candidate.
Access level: analyze. Returns: JSON with clean_text, scopes, existing_rules, template, and an instruction_for_client.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>",
"project_id": "<project_id>"
},
"name": "extract_rules_from_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw transcript text; private tags are stripped automatically. | |
| project_id | Yes | Project id used to resolve scopes and existing rules. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |