bridgeGetFileContent
Fetch raw file content from a decentralized Git repository via the Nostr bridge. Provide owner pubkey, repo, and path to retrieve the file directly.
Instructions
GET /api/nostr/repo/file-content — raw file from bridge
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": {
"ownerPubkey": "<ownerPubkey>",
"repo": "<repo>",
"path": "<path>"
},
"name": "bridgeGetFileContent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| repo | Yes | ||
| branch | No | ||
| bridgeUrl | No | ||
| ownerPubkey | Yes |