# Pin or unpin Project note

`projects.set_pinned_note`

Change which private note is highlighted on this Project. Pinning this note automatically unpins the previously pinned note. Read projects.list_notes first and reuse client_request_id only for an identical retry.

[Projects guide](https://docs.levr.ai/mcp/resources/projects.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: write. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "client_request_id": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "is_pinned": {
      "type": "boolean"
    },
    "note_id": {
      "description": "Copy note id (pnote_) from projects.list_notes.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "project_id": {
      "description": "Copy project_slug (proj_) from projects.list; not workspace_slug.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "provider_slug": {
      "description": "Copy provider_slug from providers.list; named slugs are valid.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "provider_slug",
    "project_id",
    "note_id",
    "is_pinned",
    "client_request_id"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "note": {
          "additionalProperties": false,
          "properties": {
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "created_by": {
              "type": [
                "string",
                "null"
              ]
            },
            "id": {
              "description": "Stable public identifier for the referenced resource.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "is_pinned": {
              "type": "boolean"
            },
            "plain_text": {
              "type": "string"
            },
            "resource_id": {
              "description": "Stable public identifier for the referenced resource.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "resource_kind": {
              "enum": [
                "business",
                "project",
                "deal"
              ],
              "type": "string"
            },
            "rich_text": {
              "type": "string"
            },
            "updated_at": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "id",
            "resource_kind",
            "resource_id",
            "rich_text",
            "plain_text",
            "is_pinned",
            "created_by",
            "created_at",
            "updated_at"
          ],
          "type": "object"
        }
      },
      "required": [
        "note"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```

Check the result, then read the affected record to confirm your change.
