summarize_code
Summarize a JavaScript snippet into a bullet-list summary using a language model. Returns an error if no LLM provider is configured.
Instructions
Use an LLM to produce a bullet-list summary of a JS snippet. Returns LlmNotConfigured when no provider is set.
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": {
"source": "<source>"
},
"name": "summarize_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| maxBullets | No | ||
| model | No |