request_upload
Upload structural metadata from local repositories to map codebases into Pharaoh's knowledge graph without exposing source code, enabling AI analysis of private or unmapped repositories.
Instructions
Map a local repo into Pharaoh without installing the GitHub App. Source code never leaves the machine — only structural metadata (function names, imports, exports, complexity) is uploaded.
CALL THIS WHEN:
get_codebase_map returns no repos for this user
The user asks about a repo that isn't mapped in Pharaoh
The user wants to map a private repo without admin access
The user says "analyze this repo", "map this codebase", or similar
When 'path' is provided, this tool returns a ready-to-run bash block that parses the repo locally and uploads the structural metadata. The agent should execute this bash block directly — no user action needed beyond approval. The upload URL is single-use and expires in 10 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||