> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create project favorite

> Adds the project to the caller's favorites and returns the favorite record; a repeat call returns the existing record.

`veryfront__create_project_favorite`

Requires project.read.

## Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

**Call type:** Can change resources.

## Arguments

| Field | Type | Required | Description and constraints |
| - | - | - | - |
| `project_reference` | `string` | No | Project UUID, slug or domain. |

## Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See [MCP client setup](https://veryfront.com/docs/cloud/getting-started/connect-mcp.md).

```json title="request.json" theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__create_project_favorite",
    "arguments": {}
  }
}
```

## Result

The published output shape is summarized below. Inspect both the MCP response content and `isError` when handling a call.

| Field | Type | Required | Description and constraints |
| - | - | - | - |
| `id` | `string` | Yes | Identifier of the favorite record, not the project. Format: `uuid`. |
| `user_id` | `string` | Yes | User who owns the favorite record. Format: `uuid`. |
| `project_id` | `string` | Yes | Identifier of the favorited project. Format: `uuid`. |
| `created_at` | `string` | Yes | Timestamp when the favorite record was created. |
| `project` | `object or null` | Yes | The favorited project; null when the caller can no longer read it. |

## Full schemas

```json title="input-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project UUID, slug or domain."
    }
  },
  "additionalProperties": false,
  "description": "Arguments for the create_project_favorite tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

```json title="output-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Identifier of the favorite record, not the project."
    },
    "user_id": {
      "type": "string",
      "format": "uuid",
      "description": "User who owns the favorite record."
    },
    "project_id": {
      "type": "string",
      "format": "uuid",
      "description": "Identifier of the favorited project."
    },
    "created_at": {
      "type": "string",
      "description": "Timestamp when the favorite record was created."
    },
    "project": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "format": "uuid",
              "description": "Identifier of the favorited project."
            },
            "name": {
              "type": "string",
              "description": "Current project display name."
            },
            "slug": {
              "type": "string",
              "description": "Current project slug."
            },
            "created_at": {
              "type": "string",
              "description": "Timestamp when the project was created."
            },
            "updated_at": {
              "type": "string",
              "description": "Timestamp when the project was last updated."
            }
          },
          "required": [
            "id",
            "name",
            "slug",
            "created_at",
            "updated_at"
          ],
          "additionalProperties": false,
          "description": "Structured project details associated with this tool result."
        },
        {
          "type": "null",
          "description": "The project returned by the tool."
        }
      ],
      "description": "The favorited project; null when the caller can no longer read it."
    }
  },
  "required": [
    "id",
    "user_id",
    "project_id",
    "created_at",
    "project"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the create_project_favorite tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

<details>
  <summary>Try this tool</summary>

  Replace sample arguments with values for your project or connected account. Calls run only when you select Run tool.

  MCP tool call

  Call `veryfront__create_project_favorite` against the Veryfront MCP endpoint.

  Bearer token or API key

  Arguments (JSON)

  Run this tool with these arguments.

  Run tool

  Output JSON

  <pre />
</details>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.