sage_call
Execute one local shell command with a clear purpose label (read, search, test, build, deploy, audit, unknown) to get exit code, compact output, and agent metadata for tracked execution.
Instructions
Run one local shell command through SAGE with a purpose label. Use when you need command execution and want the result categorized as read, search, test, build, deploy, audit, or unknown. Returns exit_code, compact output, run_id, purpose, and agent metadata. Side effects are exactly the side effects of the command itself. Do not use for secrets, credential prompts, or deployment unless explicitly requested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Name of the calling agent for multi-agent tracking | mcp |
| command | Yes | Single local shell command to execute through SAGE. | |
| purpose | No | Why this command is being run - improves ML failure prediction | unknown |