paperclip_create_goal
Create a new company goal with a required title and optional details. Returns the goal object with assigned UUID.
Instructions
Create a new company goal. companyId is injected from auth config.
Args:
title: string — Goal title (required)
description: string (optional) — Goal description (markdown)
status: string (optional) — Initial status (example: "active")
level: string (optional) — Goal level (example: "company")
parentId: string (optional) — Parent goal UUID for hierarchical goals
Returns: Returns the created goal object with all fields including assigned UUID.
Examples:
Use when: creating a new quarterly or product-level goal to link issues and projects against
Don't use when: the goal already exists — use paperclip_update_goal to modify it
Error Handling:
400: validation failure → ensure title is non-empty
401: authentication failed → check PAPERCLIP_API_KEY
404: parentId not found → verify with paperclip_list_goals
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Goal title | |
| description | No | Goal description (markdown) | |
| status | No | Initial status (e.g. active) | |
| level | No | Goal level (e.g. company, team) | |
| parentId | No | Parent goal UUID |