Attach a local folder as the codebase
link_local_codeAttach a local folder to a Claude Design project to design against real code. Sends text files only, skipping build artifacts, with limits on file count and size.
Instructions
Attach a folder from this machine to a Claude Design project, so it designs against your real code. Sends text files only, skipping .git, node_modules and build output, bounded by file count and total size. Point it at the frontend or design-system folder rather than a whole monorepo.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"dir": "<dir>"
},
"name": "link_local_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Local directory path | |
| visible | No | ||
| maxBytes | No | ||
| maxFiles | No | ||
| projectId | Yes |