Skip to main content
Glama

Copy artifact

artifact_fork

Fork a readable non-table artifact (id: its current version) or one version by its own id (versionId), as POST /v0/forks. The copy lands in the source's workspace when you can write there (with why); a workspace file you read only by its public link lands standalone in your own account (no why); a standalone source lands standalone. folder files it: a folder id, or a slug (in the workspace the copy lands in, else in team, else your personal folders). The receipt's forkedFrom names the version copied: { artifactId, versionId, version }, as artifact_get and artifact_list state it. The copy keeps the source's description; a workspace copy with none returns a hint saying so.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "artifact_fork"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe artifact to copy (its current version): its id, alias or page URL. Not with versionId.
whyNoRequired for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. Not needed for a copy that lands in your own account. At most 300 characters.
teamNoWith a folder slug: the team the folder belongs to.
titleNoThe copy's title (default: the source's).
folderNoThe folder to file the copy in: an id, or a slug (in the workspace the copy lands in, else in team, else your personal folders).
versionIdNoOne version to copy, by its own id (it names its artifact). Not with id.

Output Schema

NameRequiredDescriptionDefault
artifactYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. Not needed for a copy that lands in your own account. At most 300 characters."New value: +"Required for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. Not needed for a copy that lands in your own account. At most 300 characters."
  2. Changed2 schema fields changed
    • addedOutput schema / properties / artifact / properties / forkedFrom
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "artifactId": {
      +          "description": "The artifact the fork was copied from (its parent).",
      +          "format": "uuid",
      +          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +          "type": "string"
      +        },
      +        "version": {
      +          "description": "The number of the version copied. A number can be reused after a version is deleted; versionId is the exact one.",
      +          "exclusiveMinimum": 0,
      +          "maximum": 9007199254740991,
      +          "type": "integer"
      +        },
      +        "versionId": {
      +          "anyOf": [
      +            {
      +              "format": "uuid",
      +              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "The id of the version copied; null on an old fork whose source version was already gone."
      +        }
      +      },
      +      "required": [
      +        "artifactId",
      +        "versionId",
      +        "version"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The version this artifact was forked from; null when it is not a fork, or when you cannot read its parent."
      +}
    • changedOutput schema / properties / artifact / required
      Previous value: -[
      -  "id",
      -  "url",
      -  "rawUrl",
      -  "type",
      -  "currentVersionId",
      -  "alias",
      -  "title",
      -  "folder"
      -]New value: +[
      +  "id",
      +  "url",
      +  "rawUrl",
      +  "type",
      +  "currentVersionId",
      +  "alias",
      +  "title",
      +  "folder",
      +  "forkedFrom"
      +]
  3. Changed3 schema fields changed
    • removedInput schema / properties / artifactId
      Removed value: -{
      -  "description": "The artifact to copy (its current version): its id, alias or page URL. Not with versionId.",
      -  "maxLength": 300,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / id
      Added value: +{
      +  "description": "The artifact to copy (its current version): its id, alias or page URL. Not with versionId.",
      +  "maxLength": 300,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / versionId / description
      Previous value: -"One version to copy, by its own id (it names its artifact). Not with artifactId."New value: +"One version to copy, by its own id (it names its artifact). Not with id."
  4. Changed1 schema field changed
    • removedOutput schema / properties / artifact / properties / audience
      Removed value: -{
      -  "enum": [
      -    "internal",
      -    "shared"
      -  ],
      -  "type": "string"
      -}
  5. Changed5 schema fields changed
    • addedOutput schema / properties / artifact / properties / alias
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / artifact / properties / folder
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "id": {
      +          "format": "uuid",
      +          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +          "type": "string"
      +        },
      +        "slug": {
      +          "type": "string"
      +        },
      +        "teamSlug": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "slug"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / artifact / properties / rawUrl
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / artifact / properties / title
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / artifact / required
      Previous value: -[
      -  "id",
      -  "url",
      -  "type",
      -  "currentVersionId"
      -]New value: +[
      +  "id",
      +  "url",
      +  "rawUrl",
      +  "type",
      +  "currentVersionId",
      +  "alias",
      +  "title",
      +  "folder"
      +]
  6. First observed

TDQS

A3.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already disclose that this is a non-read-only, non-idempotent, open-world mutation with no destructive hint. The description adds substantial context beyond those annotations: where the copy lands depending on workspace write access and public-link access, when a why is required, how folder slugs resolve, what forkedFrom contains, and that the copy retains the source description with a hint when absent. Nothing contradicts the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the description is dense and uses several compressed, awkward clauses such as 'folder files it' and multiple parenthetical landing rules. The information is mostly relevant, yet the sentence structure makes it harder to scan than necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex copy operation with six parameters, a present output schema, and open-world mutation annotations, the description covers the key behavioral concerns: source version selection, copy destination, why requirements, folder resolution, receipt semantics, and description retention. An agent has enough context to call it correctly without needing return-value explanation from the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents id, versionId, why, title, folder, and team in detail. The description restates some parameter behavior, particularly id meaning current version, versionId meaning a specific version, and folder slug resolution, but it adds little semantic meaning beyond the schema itself.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action: fork/copy a readable non-table artifact, either its current version via id or a specific version via versionId. It also distinguishes the non-table scope and references the underlying POST /v0/forks behavior, though it does not explicitly contrast with sibling alternatives beyond noting the receipt fields that artifact_get and artifact_list expose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies when the tool applies by restricting to readable non-table artifacts and by explaining id vs versionId usage, plus landing behavior for workspace versus standalone sources. However, it does not explicitly state when to choose artifact_fork over alternatives such as artifact_get, artifact_upload, or artifact_move, leaving usage guidance mostly implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.