extract_lessons_from_transcript
Extracts candidate lessons from transcripts by returning cleaned text, project scopes, existing lessons, and a lesson template for duplicate detection and proposal drafting.
Instructions
Return everything the calling LLM needs to extract candidate lessons from a transcript: the clean text, the project's scope chain with attributes, existing lessons for duplicate detection, and the canonical lesson template. Does not itself create any proposal — call create_pending_proposal per candidate.
Access level: analyze. Returns: JSON with clean_text, scopes, existing_lessons, 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_lessons_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 lessons. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |