findagent_import_repo
Pull the CALLER'S OWN GitHub repo (via their connected token) and return deterministic grounding (basics, languages, tech domains, detected tools + the hosts they reach, and what the repo IS — skills, actions, runnable code or instructions only — with the parts found) plus a field contract. Use the grounding as the basis, then run findagent_submission_wizard to walk the user through the listing step-by-step and finalize with findagent_create_draft — your own model does the synthesis (no FindAgent LLM cost). Pass path for a repository that holds several packages (only that folder is read). Files the reader had to leave out are listed in left_out. Read-only: nothing is persisted or executed. Works for PRIVATE repos: the pull runs server-side with your stored GitHub token, so your AI client never needs repo access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional branch/tag/SHA. Defaults to the default branch HEAD. | |
| path | No | Optional folder of the repository that IS the package, for a repository that holds several (for example "plugins/pdf"). Only that folder is read. Defaults to the repository root. | |
| repo | Yes | owner/repo or a github.com URL (must be readable by your connected GitHub token). Private repos you own work — the pull is server-side. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| repo | No | ||
| commit | No | ||
| left_out | No | ||
| grounding | No | ||
| instructions | No | ||
| field_contract | No | ||
| already_imported | No |