auth_add_library
Attach a library token to an active session to grant access to additional Seafile libraries.
Instructions
Attach another library token to a session.
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": {
"session_token": "<session_token>",
"library_token": "<library_token>"
},
"name": "auth_add_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_id | No | ||
| library_name | No | ||
| library_token | Yes | ||
| session_token | Yes |