# Agentic AI Process Tools — Testing Prompts & Reference

This guide lists realistic test prompts for each **process tool** in the Agentic AI platform on **macOS** and **Windows**.

Process tools cover task and workflow orchestration: create and run approved work, pause/resume/cancel, inspect status and history, schedule and retry, collect logs, request confirmation, validate workflows, and roll back when a reliable reverse path exists. Copy and paste these prompts into the Agentic chat input to verify tool calling, argument extraction, approval gates, and multi-step orchestration once the tools are registered.

File tools: [agentic-file-tools.md](agentic-file-tools.md). Browser tools: [agentic-browser-tools.md](agentic-browser-tools.md). System tools: [agentic-system-tools.md](agentic-system-tools.md).

**Status:** Tools marked **Planned** are in this catalog for design and prompt coverage but are not registered in `packages/agentic_ai` yet.

---

## Quick Reference: All 17 Process Tools

| # | Tool ID | Summary | Status |
|---|---|---|---|
| 1 | `create_task` | Create a task from structured instruction + inputs | Planned |
| 2 | `run_task` | Execute an approved task or workflow instance | Planned |
| 3 | `pause_task` | Pause a running task | Planned |
| 4 | `resume_task` | Resume a paused task | Planned |
| 5 | `cancel_task` | Cancel a running task and remaining steps | Planned |
| 6 | `get_task_status` | Current state and progress of a task | Planned |
| 7 | `get_task_history` | History of previously executed tasks | Planned |
| 8 | `schedule_task` | Schedule an approved task for later | Planned |
| 9 | `retry_failed_task` | Retry a failed task with recorded inputs | Planned |
| 10 | `get_task_logs` | Execution logs for audit / debug | Planned |
| 11 | `request_user_confirmation` | Explicit approval before sensitive actions | Planned |
| 12 | `create_workflow` | Build a reusable multi-step workflow | Planned |
| 13 | `run_workflow` | Execute a configured workflow | Planned |
| 14 | `validate_workflow` | Check steps, deps, and inputs pre-run | Planned |
| 15 | `get_workflow_status` | Progress and outcome of a workflow run | Planned |
| 16 | `rollback_operation` | Reverse a completed op when supported | Planned |
| 17 | `get_approval_status` | Whether required user approval was granted | Planned |

---

## Test Prompts by Tool

---

### 1. `create_task` *(Planned)*

**Description:** Creates a task from a structured instruction plus its required inputs (parameters, files, targets, constraints). The result is a durable task record the agent can later approve, schedule, or run—not an immediate side effect. Use when the user describes a multi-step job that should be tracked (rename batch, scrape then save, install then verify). Prefer `create_workflow` when the sequence itself should be reusable across many runs; use `create_task` for one concrete job instance. Distinct from `run_task`, which executes an already approved task.

* **Direct**:
  * "Create a task to zip Documents/notes into Documents/archive/notes.zip."
  * "Create a task named nightly-backup with inputs source=D:/Projects and dest=D:/Backups."
* **Casual / Conversational**:
  * "set up a task that backs up my notes folder"
  * "make a tracked job to clean temp files under Downloads"
* **Fuzzy Logic & Typos (Real User)**:
  * "crete task zip notes folder"
  * "new taks for backup projetcs"
* **Vague / Symptom-Based**:
  * "I keep forgetting to archive notes — turn that into a real task I can run later."

---

### 2. `run_task` *(Planned)*

**Description:** Executes an approved task (or a one-shot workflow instance already bound as a task). Requires prior approval when the task is sensitive; refuses or prompts if approval is missing. Use after `create_task` + `request_user_confirmation` / `get_approval_status`. Prefer `run_workflow` when starting from a reusable workflow definition rather than a single task record. Pair with `get_task_status` and `get_task_logs` while it runs.

* **Direct**:
  * "Run the approved task nightly-backup."
  * "Execute task id task_abc123 now."
* **Casual / Conversational**:
  * "go ahead and run that backup task"
  * "start the job we just created"
* **Fuzzy Logic & Typos (Real User)**:
  * "run taks nightly-backup"
  * "excute task_abc123"
* **Vague / Symptom-Based**:
  * "Everything's approved — kick off the backup."

---

### 3. `pause_task` *(Planned)*

**Description:** Pauses a running task when the runtime supports cooperative pause (between steps or at checkpoints). Does not roll back completed steps. Use when the user needs to interrupt without abandoning work. Pair with `resume_task` to continue and `get_task_status` to confirm paused state. Prefer `cancel_task` when remaining steps should be discarded.

* **Direct**:
  * "Pause task task_abc123."
  * "Pause the running nightly-backup task."
* **Casual / Conversational**:
  * "hold that job for a minute"
  * "pause the backup that's running"
* **Fuzzy Logic & Typos (Real User)**:
  * "paus task_abc123"
  * "pause nigtly-backup"
* **Vague / Symptom-Based**:
  * "Stop the backup mid-way but don't kill it — I'll continue later."

---

### 4. `resume_task` *(Planned)*

**Description:** Resumes a previously paused task from its last checkpoint. Fails clearly if the task is not in a paused state. Use after `pause_task` when the user is ready to continue. Prefer `retry_failed_task` for failed (not paused) tasks.

* **Direct**:
  * "Resume task task_abc123."
  * "Continue the paused nightly-backup task."
* **Casual / Conversational**:
  * "pick up that paused backup where it left off"
  * "resume the job I paused"
* **Fuzzy Logic & Typos (Real User)**:
  * "resum task_abc123"
  * "continue pausd backup"
* **Vague / Symptom-Based**:
  * "I'm free again — keep going on the backup."

---

### 5. `cancel_task` *(Planned)*

**Description:** Cancels a running (or scheduled) task and skips remaining steps. Completed side effects are not automatically undone—use `rollback_operation` when a reliable reverse path exists. Typically requires confirmation for destructive or irreversible jobs. Distinct from system `cancel_operation`, which targets low-level system ops rather than process-layer tasks.

* **Direct**:
  * "Cancel task task_abc123 and its remaining steps."
  * "Stop and cancel the running nightly-backup task."
* **Casual / Conversational**:
  * "abort that backup job"
  * "cancel the task, I don't need it anymore"
* **Fuzzy Logic & Typos (Real User)**:
  * "cancel taks task_abc123"
  * "aborte nightly-backup"
* **Vague / Symptom-Based**:
  * "This job is wrong — kill it and don't do the rest of the steps."

---

### 6. `get_task_status` *(Planned)*

**Description:** Returns the current state and progress of a task (queued, running, paused, succeeded, failed, cancelled) plus step position or percent when available. Use for polling while a task runs or answering “is it done yet?” Prefer `get_task_logs` for detailed step output, and `get_task_history` for past runs.

* **Direct**:
  * "Get the status of task task_abc123."
  * "What is the progress of nightly-backup?"
* **Casual / Conversational**:
  * "is that backup task done yet?"
  * "how's the job going?"
* **Fuzzy Logic & Typos (Real User)**:
  * "taks status task_abc123"
  * "progres of nigtly-backup"
* **Vague / Symptom-Based**:
  * "Something's been running a while — what's the task state?"

---

### 7. `get_task_history` *(Planned)*

**Description:** Retrieves history of previously executed tasks (ids, names, outcomes, timestamps, optional filters by status or name). Use for audit, “what did we run last week?”, or picking a failed id for retry. Distinct from `get_task_status` (one live task) and `get_task_logs` (step-level output for one run).

* **Direct**:
  * "Show task history for the last 7 days."
  * "List previously failed tasks."
  * "Get history for tasks named nightly-backup."
* **Casual / Conversational**:
  * "what tasks have we run recently?"
  * "show me past backup jobs"
* **Fuzzy Logic & Typos (Real User)**:
  * "taks history last week"
  * "list faild tasks"
* **Vague / Symptom-Based**:
  * "Did we already run a backup this week?"

---

### 8. `schedule_task` *(Planned)*

**Description:** Schedules an approved task for future execution (one-shot datetime or recurrence when supported). The task must already exist and usually must be approved. Use for “tonight at 2am” or “every Monday” jobs. Prefer `run_task` for immediate execution. Pair with `get_task_status` / `cancel_task` to inspect or cancel a scheduled entry.

* **Direct**:
  * "Schedule task nightly-backup for 2026-10-30 at 02:00 local time."
  * "Schedule task_abc123 to run every Monday at 09:00."
* **Casual / Conversational**:
  * "run that backup tonight at 2am"
  * "schedule the cleanup job for Monday morning"
* **Fuzzy Logic & Typos (Real User)**:
  * "shedul nightly-backup 2am"
  * "schedule taks monday 9"
* **Vague / Symptom-Based**:
  * "Don't do it now — queue the backup for overnight."

---

### 9. `retry_failed_task` *(Planned)*

**Description:** Retries a failed task using its recorded inputs and last error context so the agent does not re-prompt for every parameter. May optionally resume from the failed step when the runtime supports it. Use after inspecting `get_task_status` / `get_task_logs`. Prefer `run_task` for a fresh successful task, and `resume_task` only for paused (not failed) work.

* **Direct**:
  * "Retry failed task task_abc123."
  * "Retry nightly-backup using the same inputs after the last error."
* **Casual / Conversational**:
  * "try that failed backup again"
  * "rerun the job that crashed"
* **Fuzzy Logic & Typos (Real User)**:
  * "retry faild taks task_abc123"
  * "rerun nigtly-backup"
* **Vague / Symptom-Based**:
  * "The backup died halfway — run it again with the same settings."

---

### 10. `get_task_logs` *(Planned)*

**Description:** Retrieves execution logs for a task run (step messages, timestamps, errors) for troubleshooting and auditing. Optional filters: severity, step id, time range. Use when status alone is not enough to explain a failure. Prefer `get_task_history` for cross-run summaries without log bodies.

* **Direct**:
  * "Get logs for task task_abc123."
  * "Show error logs for the last nightly-backup run."
* **Casual / Conversational**:
  * "why did that task fail — show the logs"
  * "pull the audit trail for the backup job"
* **Fuzzy Logic & Typos (Real User)**:
  * "get taks logs task_abc123"
  * "show eror logs nigtly-backup"
* **Vague / Symptom-Based**:
  * "The job failed and I don't know why — dump the logs."

---

### 11. `request_user_confirmation` *(Planned)*

**Description:** Requests explicit user approval before a sensitive or irreversible action (delete, send, pay, overwrite, bulk move). Returns a confirmation challenge the UI can present; later tools check `get_approval_status` before proceeding. Distinct from system `request_permission` (OS-level privacy/hardware grants). Use liberally for destructive process steps; do not treat chat agreement alone as durable approval when this tool exists.

* **Direct**:
  * "Request user confirmation before permanently deleting the archive folder."
  * "Ask for explicit approval to run task nightly-backup."
* **Casual / Conversational**:
  * "ask me to confirm before you wipe those files"
  * "get my OK before starting the bulk move"
* **Fuzzy Logic & Typos (Real User)**:
  * "reqest confirmaton before delete"
  * "ask aproval for backup task"
* **Vague / Symptom-Based**:
  * "This could mess things up — make me confirm first."

---

### 12. `create_workflow` *(Planned)*

**Description:** Creates a reusable workflow from a sequence of supported actions (ordered steps, inputs schema, optional dependencies between steps). Unlike a one-off `create_task`, a workflow is a template that can be validated and run many times with different inputs. Use for repeatable pipelines (download → extract → notify). Follow with `validate_workflow` before first `run_workflow`.

* **Direct**:
  * "Create a workflow named notes-archive with steps: list Documents/notes, zip to archive/notes.zip, notify Done."
  * "Create a reusable workflow that searches PDFs then saves a summary file."
* **Casual / Conversational**:
  * "build a reusable pipeline that zips notes and pings me"
  * "define a workflow for my weekly export"
* **Fuzzy Logic & Typos (Real User)**:
  * "crete workflo notes-archive"
  * "new workfow zip then notify"
* **Vague / Symptom-Based**:
  * "I do the same archive steps every week — make that a reusable workflow."

---

### 13. `run_workflow` *(Planned)*

**Description:** Executes a previously configured workflow, optionally with a parameter map for this run. Typically requires validation and/or approval depending on step risk. Creates an underlying run that can be observed via `get_workflow_status` (and often surfaces as tasks in history). Prefer `run_task` when executing a single concrete task record rather than a template.

* **Direct**:
  * "Run workflow notes-archive."
  * "Execute workflow notes-archive with dest=Documents/archive/weekly.zip."
* **Casual / Conversational**:
  * "kick off the notes-archive workflow"
  * "run my weekly export pipeline"
* **Fuzzy Logic & Typos (Real User)**:
  * "run workflo notes-archive"
  * "excute weekly export workfow"
* **Vague / Symptom-Based**:
  * "Do the usual archive pipeline now."

---

### 14. `validate_workflow` *(Planned)*

**Description:** Checks workflow steps, dependencies, and required inputs before execution—missing params, unknown actions, cyclic deps, or unsafe step combinations. Returns pass/fail with concrete issues. Use after `create_workflow` or before `run_workflow` when the definition changed. Does not execute side effects.

* **Direct**:
  * "Validate workflow notes-archive."
  * "Check workflow notes-archive for missing inputs and bad dependencies."
* **Casual / Conversational**:
  * "is my archive workflow valid before we run it?"
  * "sanity-check the weekly export pipeline"
* **Fuzzy Logic & Typos (Real User)**:
  * "validte workflo notes-archive"
  * "chek workfow deps"
* **Vague / Symptom-Based**:
  * "I'm worried the pipeline is broken — check it without running it."

---

### 15. `get_workflow_status` *(Planned)*

**Description:** Returns progress and outcome of a running or completed workflow run (current step, percent, success/failure, error summary). Use while `run_workflow` is in flight or afterward for a concise result. Prefer `get_task_logs` / task-level status when debugging a single step that is modeled as a task.

* **Direct**:
  * "Get workflow status for notes-archive run run_001."
  * "What is the progress of the weekly export workflow?"
* **Casual / Conversational**:
  * "how's the archive workflow doing?"
  * "did the weekly pipeline finish?"
* **Fuzzy Logic & Typos (Real User)**:
  * "workflo status run_001"
  * "progres of weekly export"
* **Vague / Symptom-Based**:
  * "That pipeline's been quiet — is it still running or stuck?"

---

### 16. `rollback_operation` *(Planned)*

**Description:** Reverses a completed operation when a reliable rollback mechanism exists (restore from snapshot, undo move, re-apply inverse patch). Not every task is rollback-capable—tool should refuse clearly when no reverse path is recorded. Use after a mistaken successful run; prefer `cancel_task` for in-flight work and `trash_file` / restore flows for simple file undos outside process orchestration.

* **Direct**:
  * "Rollback operation op_abc123."
  * "Reverse the last notes-archive run if a rollback is available."
* **Casual / Conversational**:
  * "undo that last pipeline run"
  * "roll back the mistaken backup overwrite"
* **Fuzzy Logic & Typos (Real User)**:
  * "rollbak op_abc123"
  * "undo last workflo run"
* **Vague / Symptom-Based**:
  * "That job succeeded but it was wrong — put things back if you can."

---

### 17. `get_approval_status` *(Planned)*

**Description:** Checks whether the required user approval has been granted, denied, expired, or is still pending for an operation or task. Read-only companion to `request_user_confirmation`. Use before `run_task` / `run_workflow` / `schedule_task` when the gate must be satisfied. Distinct from system `get_permission_status` (OS privacy permissions).

* **Direct**:
  * "Get approval status for task nightly-backup."
  * "Has the user approved operation op_abc123?"
* **Casual / Conversational**:
  * "did I already approve that backup?"
  * "is confirmation still pending?"
* **Fuzzy Logic & Typos (Real User)**:
  * "aproval status nightly-backup"
  * "has user aproved op_abc123"
* **Vague / Symptom-Based**:
  * "I thought I clicked approve — check if we're cleared to run."

---

## Notes

* All 17 process tools are **Planned** until registered under a process/task runtime in `packages/agentic_ai`.
* Typical happy path: `create_task` or `create_workflow` → `validate_workflow` (if workflow) → `request_user_confirmation` → `get_approval_status` → `run_task` / `run_workflow` → `get_task_status` / `get_workflow_status` → `get_task_logs` on failure → `retry_failed_task` or `rollback_operation`.
* Do not confuse with system tools: `request_permission` / `get_permission_status` (OS), `get_operation_status` / `cancel_operation` (low-level system ops).
* Prefer confirmation + approval status before destructive or irreversible process steps.
