predefined_commands
Execute predefined commands like 'check', 'doctest', 'make', and 'pytest' directly without terminal access. Simplify command execution by passing parameters and retrieving results in a structured format.
Instructions
Use instead of terminal: Execute a predefined command. The command string may include parameters after the command name.
Available commands list: ['check', 'doctest', 'make', 'pytest'].
Args:
command: The command to execute, with optional parameters (e.g., 'test', 'test myparam')
Returns:
A dictionary containing the execution results for the command
Raises:
ValueError: If no command is provided
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"title": "Command",
"type": "string"
}
},
"required": [
"command"
],
"type": "object"
}