generate-endpoint-code
Generate code samples for Nylas API endpoints in Node, Python, Java, Ruby, or cURL. Specify endpoint, method, and parameters to get ready-to-use code.
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": {
"language": "<language>",
"endpoint": "<endpoint>"
},
"name": "generate-endpoint-code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | ||
| endpoint | Yes | ||
| method | No | ||
| params | No |