Claudeway icon

Claudeway

Interact with Claudeway - Claude CLI HTTP Gateway

Task → Run Task

AI-generated

Summary

Execute a one-time prompt task on the Claudeway server using a specified Claude model and working directory setup.

Inputs

  • Prompt (required) — The prompt text to send to Claude for processing.
  • Model — The Claude model to use; leave empty to use the server's default model.
  • Working Directory — Specifies where Claude should run the task: default server path, a Git repository (auto cloned or pulled), or a custom absolute path on the server.
  • Repository URL (required) — If 'Git Repository' is selected as the working directory, this is the URL of the repo to clone or pull on the server.
  • Branch — Optional branch to check out from the Git repository; defaults to the repo's default branch if empty.
  • Path (required) — If 'Custom Path' is selected as the working directory, this absolute path on the Claudeway server is where Claude runs the task.
  • Additional Fields/System Prompt — Optional system prompt to configure Claude's behavior during this task.
  • Additional Fields/Timeout (Seconds) — Maximum time in seconds to wait for Claude's response; defaults to 120 seconds.

Output shape

a single JSON object containing Claude's task result

The operation returns the task execution result JSON from Claudeway. If the 'Run Task (Streaming)' operation is used instead (not this one), partial streamed text output is optionally included.

Links

Discussion