generate_service_class
Generate a Laravel service class to encapsulate business logic like billing or notifications. Define methods with parameters and return types.
Instructions
Generate a Laravel service class for business logic (BillingService, NotificationService, etc.).
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": {
"serviceName": "<serviceName>"
},
"name": "generate_service_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| methods | No | ||
| serviceName | Yes | Service name e.g. 'BillingService' |