Back to home
Connect a client

Detect a framework

Inspect the repository and optional root directory to suggest a framework and build settings.

Arguments

NameTypeRequiredLimits
repositoryUrlstringNoSee schema
branchstringNoSee schema
rootDirectorystringNoSee schema
installationIdintegerNoMinimum 1
uploadIdstringNoAt least 1 character(s)
projectIdstringNoAt least 1 character(s)
Full input schema
{
  "type": "object",
  "properties": {
    "repositoryUrl": {
      "type": "string"
    },
    "branch": {
      "type": "string"
    },
    "rootDirectory": {
      "type": "string"
    },
    "installationId": {
      "type": "integer",
      "minimum": 1
    },
    "uploadId": {
      "type": "string",
      "minLength": 1
    },
    "projectId": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [],
  "additionalProperties": false
}

Example call

The params of a tools/call request. Replace the placeholder values with your own IDs.

{
  "name": "detectFramework",
  "arguments": {
    "repositoryUrl": "https://github.com/example/app"
  }
}

Result

The same data as the API operation, wrapped as {"untrusted_data": true, "source": "detectFramework", "note": "...", "data": ...} so the model treats project content as data, not instructions.