pollegendre
Compute the nth Legendre polynomial, specifying the variable name.
Instructions
Compute the nth Legendre polynomial.
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": {
"n": "<n>"
},
"name": "pollegendre"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Non-negative integer. | |
| v | No | Variable name (default 'x'). | x |