create_library
Create a document library. Specify exactly one scope: projectId, proposalId, or scope="org" for a tenant-level (organization) library. name is 1..200 chars; optional description. Project libraries require project.content.create (Viewers are read-only); org libraries require org.library.manage (MANAGER+ by default). Agent-created libraries are always user-visible, never the system's auto-stash variant.
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": {
"name": "<name>"
},
"name": "create_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 1..200 chars. | |
| scope | No | Set "org" for a tenant-level library (the caller's organization). | |
| projectId | No | ||
| proposalId | No | ||
| description | No |