@zack/wikipedia-scrape
Fetch a Wikipedia URL and return title, text, and image URLs.
Get started
Install, run, or load this Tool.
01Install
Resolve this exact Tool version and its prepared dependencies.
agentpm install @zack/wikipedia-scrape@0.1.502Run Tool
Send JSON to its declared input contract and receive JSON output.
agentpm run @zack/wikipedia-scrape@0.1.5 --input-file input.jsonSupply input.json matching this Tool’s input schema.
ORLoad via SDK
Call the installed Tool through an SDK.
import { load } from '@agentpm/sdk';
const t = await load('@zack/wikipedia-scrape@0.1.5');CLI version & updates
CLI 0.1.36+ reads and preserves standard declarations. New publications require an explicit supported standard; use the latest CLI for current authoring checks. Historical releases remain installable as published. This floor does not establish selected-release installation support or Harness readiness.
Check agentpm --version, then follow the CLI installation and update guide. See the publication compatibility requirements.
Interface
The contract a caller must satisfy, from the authored JSON Schema.
Input
urlstringrequiredWikipedia URL to fetch
- format:
- "uri"
No other input fields are accepted.
Complete input schema
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Wikipedia URL to fetch"
}
},
"additionalProperties": false
}Output
Variant 1
oktruetextstringConcatenated article paragraphs
titlestringPage title
imagesarrayAbsolute image URLs found in the article body
Inspect images structure
Absolute image URLs found in the article body
Array items{
"type": "string",
"format": "uri"
}Variant 2
okfalseerrorobject- additionalProperties:
- true
Inspect error structure
codestringoptionalStable machine-readable error code (e.g. INPUT_INVALID, FETCH_FAILED)
detailsobjectoptionalOptional structured context
messagestringrequiredHuman-readable error message
Complete output schema
{
"oneOf": [
{
"type": "object",
"required": [
"ok",
"title",
"text",
"images"
],
"properties": {
"ok": {
"const": true
},
"text": {
"type": "string",
"description": "Concatenated article paragraphs"
},
"title": {
"type": "string",
"description": "Page title"
},
"images": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "Absolute image URLs found in the article body"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"error"
],
"properties": {
"ok": {
"const": false
},
"error": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Stable machine-readable error code (e.g. INPUT_INVALID, FETCH_FAILED)"
},
"details": {
"type": "object",
"description": "Optional structured context"
},
"message": {
"type": "string",
"description": "Human-readable error message"
}
},
"additionalProperties": true
}
},
"additionalProperties": false
}
]
}Runtime & execution
What AgentPM provisions and runs on your machine.
- Runtime
- node 20
- Entrypoint
- node dist/index.js
- Timeout
- 120 s
- Packaged files
- 1
Environment
No environment variables declared.
Declared by the author and read from your environment at run time. AgentPM neither supplies nor proxies credentials. Local runtime readiness is not evaluated here.
Evidence
Health & Security →Reported by the Registry, for this version. A Registry-performed check is a Registry-reported result, not independent verification.
- APDS conformance
- Legacy inference; conformance not established
- Integrity & provenance
4 recorded signals
- Not applicable: Logical release digestRegistry recomputed metadata binding; archive bytes are not re-downloaded. Historical single archives have no logical release digest.Source: canonical release document and stored manifest/resolution/artifact inventory. Observed .
- Author signature verified by RegistryRegistry namespace signer history; Ed25519 and exact statement binding. This is a Registry-performed check, not independent local verification by the reader or a safety guarantee.Source: stored provenance and Stage 1 verification contracts. Observed .
- Registry attestation verified by RegistryRoot-signed Registry key set; exact origin, validity, key history and Ed25519 statement binding. This is a Registry-performed check, not independent local verification by the reader or a safety guarantee.Source: stored provenance and Stage 1 verification contracts. Observed .
- Not evaluated: Dependency byte integrity not evaluatedUse a local verified installation to check the exact graph's downloaded bytes.Source: Registry metadata only. Observed .
- Target support
- 1 artifact · legacy · provisioning not evaluated
- License
- MIT · declared by the author
Source
Legacy manifest: no explicit APDS declaration. Compatibility may be inferred; this is not verified conformance.
Full agent.json · v0.1.5
{
"kind": "tool",
"name": "wikipedia-scrape",
"files": [
"dist/"
],
"inputs": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Wikipedia URL to fetch"
}
},
"additionalProperties": false
},
"readme": "README.md",
"$schema": "https://raw.githubusercontent.com/agentpm-dev/cli/refs/heads/main/schemas/agentpm.manifest.schema.json",
"license": {
"spdx": "MIT"
},
"outputs": {
"oneOf": [
{
"type": "object",
"required": [
"ok",
"title",
"text",
"images"
],
"properties": {
"ok": {
"const": true
},
"text": {
"type": "string",
"description": "Concatenated article paragraphs"
},
"title": {
"type": "string",
"description": "Page title"
},
"images": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "Absolute image URLs found in the article body"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"error"
],
"properties": {
"ok": {
"const": false
},
"error": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Stable machine-readable error code (e.g. INPUT_INVALID, FETCH_FAILED)"
},
"details": {
"type": "object",
"description": "Optional structured context"
},
"message": {
"type": "string",
"description": "Human-readable error message"
}
},
"additionalProperties": true
}
},
"additionalProperties": false
}
]
},
"runtime": {
"type": "node",
"version": "20"
},
"version": "0.1.5",
"entrypoint": {
"args": [
"dist/index.js"
],
"command": "node",
"timeout_ms": 120000
},
"description": "Fetch a Wikipedia URL and return title, text, and image URLs."
}