Collect research evidence
collectStarts a GitHub Actions research run and returns a workflow run ID immediately; use that ID with fetch_corpus to retrieve the unapproved corpus for review.
Instructions
Start a research collection on GitHub Actions. Returns the workflow run id immediately; the run takes minutes. Call fetch_corpus with that id to get the result. The corpus that comes back is NOT approved research: the agent must review it before anything is built from it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Optional. Pages you already know (http or https), fetched directly instead of searched - an API response, a changelog post. Each counts against max_pages. With urls and no queries, nothing is searched. Visible to anyone who can read that repository, like the topic: never a signed or token-bearing URL. | |
| depth | No | Collection tier. Default quick. | |
| prior | No | Optional. What you EXPECT the evidence to say, and what you know you cannot know yet. Registered on the runner and chained ahead of the first page, so it can only be supplied now. Nothing grades it - being wrong is the point (ADR-0039). | |
| topic | Yes | What to research. Visible to anyone who can read that repository. | |
| prefer | No | Optional, comma-separated. Domains that OWN the fact - e.g. "tavily.com". On a shared host name the path - "github.com/actions/upload-artifact", not "github.com". Ranked above pages merely about it. | |
| runner | No | ||
| queries | No | Optional. The actual search queries. Without them the topic is used verbatim, which matches the words rather than the subject when the topic is made of common ones. | |
| max_pages | No | Pages to collect. Each costs at least one credit. Default 8. | |
| client_ref | No | Optional caller reference. PUBLIC: it becomes the run and artifact name, so never put the subject in it. | |
| repository | Yes | owner/name of the repository holding the collector workflow |