Get Script Project
get_script_projectList Apps Script projects and retrieve metadata, file overview, or complete source file content using script and file IDs.
Instructions
Read Apps Script projects and their source files.
Actions: - "list": List Apps Script projects accessible to the user (Drive-backed). Optional: page_size, page_token. - "get": Retrieve one project's metadata and file overview, or one complete source file when file_name is provided. Requires script_id.
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": {
"user_google_email": "<user_google_email>",
"action": "<action>"
},
"name": "get_script_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | One of "list", "get". | |
| file_name | No | Optional source file name for get. | |
| page_size | No | Number of results per page for list (default: 50). | |
| script_id | No | The script project ID (required for get). | |
| page_token | No | Pagination token for list (optional). | |
| user_google_email | Yes | User's email address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |