create_agent
Create a new AI agent for the Spaceship platform. Provide a name and project ID, then optionally give a description for auto-generated prompt or a direct system prompt.
Instructions
Create a new agent.
Pass description to let the server auto-generate a detailed system prompt
(scaffold_applied: true in the response). Pass prompt to set the system
prompt directly. At least one of description or prompt is recommended.
Args:
name: Display name for the agent.
project_id: UUID of the project this agent belongs to (from list_projects).
description: Natural-language description — triggers server-side prompt scaffolding.
prompt: Raw system prompt to use as-is (skips scaffolding).
framework: Execution framework. Defaults to langchain.
tools: List of tool UUIDs to attach (from list_tools).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project_id | Yes | ||
| description | No | ||
| prompt | No | ||
| framework | No | langchain | |
| tools | No |