Connect a client
Detect a framework
Inspect the repository and optional root directory to suggest a framework and build settings.
Arguments
| Name | Type | Required | Limits |
|---|---|---|---|
repositoryUrl | string | No | See schema |
branch | string | No | See schema |
rootDirectory | string | No | See schema |
installationId | integer | No | Minimum 1 |
uploadId | string | No | At least 1 character(s) |
projectId | string | No | At 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.