Get Script Project
get_script_projectList Apps Script projects or retrieve a project's source files by script ID, so you can inspect and read script code and metadata.
Instructions
Read Apps Script projects and their source files.
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 |