prepare_agentic_purchasing
ActiveTool of AXIS Toolbox — Agentic Commerce Codebase Intelligence
Prepare a codebase for agentic purchasing and return a readiness score plus commerce artifacts. Requires Authorization: Bearer <api_key>; paid analysis records a new snapshot and may return auth, quota, payment, file-limit, or validation errors. Example: submit checkout files with focus_areas=["sca","dispute"]. Use this when you need AP2/UCP/Visa, CE 3.0 dispute evidence, checkout, dispute, and negotiation hardening. Engineer mode (X-Agent-Mode: engineer — Commerce Integration, $250): also emits a deployable x402/AP2/PAI'D endpoint + a runnable sandbox test + a schema-validatable CE 3.0 pack + a transparent dispute-readiness score (a working integration, not just a score). Use discover_agentic_purchasing_needs instead when you only need workflow triage.
Parameters schema
{
"type": "object",
"required": [
"project_name",
"project_type",
"frameworks",
"goals",
"files"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"content"
],
"properties": {
"path": {
"type": "string"
},
"content": {
"type": "string"
}
}
},
"description": "Array of {path, content} objects representing source files"
},
"focus": {
"enum": [
"full",
"purchasing",
"security",
"optimization"
],
"type": "string",
"description": "Analysis focus (default: purchasing)"
},
"goals": {
"type": "array",
"items": {
"type": "string"
},
"description": "Project goals"
},
"agent_type": {
"type": "string",
"description": "Consuming agent type hint"
},
"frameworks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Detected or known frameworks"
},
"focus_areas": {
"type": "array",
"items": {
"enum": [
"sca",
"dispute",
"mandate",
"tap",
"tokenization"
],
"type": "string"
},
"description": "Compliance focus areas"
},
"project_name": {
"type": "string",
"description": "Name of the project"
},
"project_type": {
"type": "string",
"description": "Project type (web_application, api_service, cli_tool, library, monorepo)"
},
"referral_token": {
"type": "string",
"description": "Optional referral token from another agent"
},
"spending_window": {
"enum": [
"per_call",
"hourly",
"daily",
"monthly"
],
"type": "string",
"description": "Agent spending window"
},
"budget_per_run_cents": {
"type": "number",
"description": "Agent budget for this call in cents"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
AXIS Toolbox — Agentic Commerce Codebase Intelligence
https://github.com/lastmanupinc-hub/Toolbox
1/7 registries