Page tools
Three tools for the pages a project tracks.
list_pages
Section titled “list_pages”List pages in a project, optionally filtered by URL.
| Name | Type | Required | Notes |
|---|---|---|---|
project_id | string | yes | |
url_filter | string | no | Partial match against the page URL. |
first | number | no | Page size. Default 20. |
after | string | no | Opaque cursor from a prior page’s endCursor. |
Returns: { totalCount, pageInfo, pages }.
Returns an error block if your credential cannot reach that project.
create_page
Section titled “create_page”Add a page to a project.
| Name | Type | Required | Notes |
|---|---|---|---|
project_id | string | yes | |
organization_id | string | yes | |
url | string | yes | e.g. https://example.com/about. |
description | string | no |
Returns: the created page.
To add many pages at once, use import_sitemap instead.
delete_page
Section titled “delete_page”Delete a page from a project. Requires the admin role.
| Name | Type | Required |
|---|---|---|
page_id | string | yes |
organization_id | string | yes |
Returns: the confirmation line Deleted page: <url>.