create_job_invoice
Generate a Lightning invoice to enable job payment. Automates billing by creating invoices for specified job types with custom parameters.
Instructions
Create Lightning invoice for job payment @requirement: REQ-MCP-005 - Lightning payment integration @requirement: REQ-PAY-003 - Invoice creation Properties: Autonomy(+0.6), Durability(+0.3)
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": {
"job_type": "<job_type>",
"params": "<params>"
},
"name": "create_job_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | ||
| job_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |