action_requirements
Add a Python library to an endpoint's requirements.txt, skipping it if already preinstalled.
Instructions
Add a library to an endpoint's requirements.txt. Skips if the library is preinstalled.
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": {
"endpoint": "<endpoint>",
"library": "<library>"
},
"name": "action_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library | Yes | The Python library name to add | |
| endpoint | Yes | The action endpoint. Use 'name' or 'package/name'. Each segment must start with a letter and contain only letters, numbers, and hyphens; underscores and spaces are invalid (example: 'v1/employees-photo'). |