save_note_insight
Generate and save an AI insight for a specific note. Upserts based on the combination of note, insight type, and target language.
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": {
"local_recording_id": "<local_recording_id>",
"insight_type": "<insight_type>",
"content": "<content>"
},
"name": "save_note_insight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The insight content text | |
| insight_type | Yes | The type of insight to save | |
| target_language | No | Target language code for translations (e.g., 'es', 'fr', 'de'). Required when insight_type is 'translate'. | |
| local_recording_id | Yes | The local recording ID of the note (from localRecordingId field) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| content | Yes | Insight text | |
| insightType | Yes | Kind of insight, e.g. summary, action_items, translate | |
| targetLanguage | Yes | Language code for translations, otherwise null | |
| localRecordingId | Yes | Device-local ID of the note the insight belongs to |