Ask codefmt
ask_codefmtAsk a natural-language question about codefmt: formatting and linting JavaScript, Python, and HubL for automation platforms (Zapier, n8n, Pipedream, Make, HubSpot). Returns a grounded answer drawn from codefmt's own content with cited source URLs and a confidence score (0-1, how much of the question the answer covers, weighted toward its rarer terms); off-topic or too-weakly-matched questions are refused rather than guessed.
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": {
"query": "<query>"
},
"name": "ask_codefmt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The natural-language question about codefmt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | The grounded answer, or the refusal text. | |
| results | Yes | Ranked matching entries. | |
| sources | Yes | Cited source URLs. | |
| confidence | No | How much of the question the answer covers, weighted toward its rarer terms. |