diff --git a/HOW_TO_PUBLISH_A_TOOL.md b/HOW_TO_PUBLISH_A_TOOL.md index ba6828c..e95e758 100644 --- a/HOW_TO_PUBLISH_A_TOOL.md +++ b/HOW_TO_PUBLISH_A_TOOL.md @@ -133,10 +133,6 @@ Complete metadata for maximum visibility: "type": "api-key", "required": true }, - "pricing": { - "model": "pay-per-use", - "cost": "$0.001 per request" - }, "frameworks": ["vercel-ai", "langchain"], "links": { "documentation": "https://docs.example.com", @@ -316,9 +312,6 @@ Here's the complete `package.json` from the published example: "required": false, "type": "api-key" }, - "pricing": { - "model": "free" - }, "frameworks": ["vercel-ai", "langchain"], "links": { "documentation": "https://tpmjs.com/tools/createblogpost", @@ -362,7 +355,6 @@ Here's the complete `package.json` from the published example: | Field | Type | Description | |-------|------|-------------| | `authentication` | object | Auth requirements | -| `pricing` | object | Pricing information | | `frameworks` | array | Compatible frameworks | | `links` | object | Related URLs | | `tags` | array | Additional tags | @@ -393,23 +385,6 @@ If your tool requires authentication: } ``` -### Pricing Models - -```json -"pricing": { - "model": "free" // or "pay-per-use", "subscription", "freemium" -} -``` - -For paid tools, add cost information: - -```json -"pricing": { - "model": "pay-per-use", - "cost": "$0.001 per request" -} -``` - ## Quality Score Your tool gets a quality score based on: diff --git a/apps/web/src/app/publish/page.tsx b/apps/web/src/app/publish/page.tsx index 088fe08..a4bf6ef 100644 --- a/apps/web/src/app/publish/page.tsx +++ b/apps/web/src/app/publish/page.tsx @@ -169,10 +169,6 @@ export default function PublishPage(): React.ReactElement { "type": "api-key", "required": true }, - "pricing": { - "model": "pay-per-use", - "cost": "$0.001 per request" - }, "frameworks": ["vercel-ai", "langchain"], "links": { "documentation": "https://docs.example.com", diff --git a/apps/web/src/app/spec/page.tsx b/apps/web/src/app/spec/page.tsx index 504c39c..3b928d0 100644 --- a/apps/web/src/app/spec/page.tsx +++ b/apps/web/src/app/spec/page.tsx @@ -313,29 +313,6 @@ export default function SpecPage(): React.ReactElement { -
-

- pricing -

-

- Pricing information. Fields: -

- -
-

frameworks @@ -448,11 +425,6 @@ export default function SpecPage(): React.ReactElement { "envVar": "SENTIMENT_API_KEY", "docsUrl": "https://docs.example.com/auth" }, - "pricing": { - "model": "freemium", - "freeLimit": "1000 requests/month", - "paidUrl": "https://example.com/pricing" - }, "frameworks": ["vercel-ai", "langchain"], "links": { "documentation": "https://docs.example.com", @@ -579,19 +551,6 @@ export default function SpecPage(): React.ReactElement { No Auth requirements - - - pricing - - object - - - Rich - - - No - Pricing model and details - frameworks diff --git a/packages/tools/createBlogPost/package.json b/packages/tools/createBlogPost/package.json index 4cd8764..b9fb851 100644 --- a/packages/tools/createBlogPost/package.json +++ b/packages/tools/createBlogPost/package.json @@ -84,9 +84,6 @@ "required": false, "type": "api-key" }, - "pricing": { - "model": "free" - }, "frameworks": ["vercel-ai", "langchain"], "links": { "documentation": "https://tpmjs.com/tools/createblogpost", diff --git a/packages/types/src/tpmjs.ts b/packages/types/src/tpmjs.ts index 6540161..df3deb3 100644 --- a/packages/types/src/tpmjs.ts +++ b/packages/types/src/tpmjs.ts @@ -55,17 +55,6 @@ export const TpmjsAuthenticationSchema = z.object({ export type TpmjsAuthentication = z.infer; -/** - * Pricing information schema - */ -export const TpmjsPricingSchema = z.object({ - model: z.enum(['free', 'freemium', 'paid', 'enterprise']), - freeLimit: z.string().optional(), - paidUrl: z.string().url().optional(), -}); - -export type TpmjsPricing = z.infer; - /** * External links schema */ @@ -111,7 +100,6 @@ export const TpmjsRichSchema = TpmjsMinimalSchema.extend({ parameters: z.array(TpmjsParameterSchema).optional(), returns: TpmjsReturnsSchema.optional(), authentication: TpmjsAuthenticationSchema.optional(), - pricing: TpmjsPricingSchema.optional(), frameworks: z .array(z.enum(['vercel-ai', 'langchain', 'llamaindex', 'haystack', 'semantic-kernel'])) .optional(), @@ -151,7 +139,6 @@ export function validateTpmjsField(tpmjs: unknown): ValidationResult { data.parameters || data.returns || data.authentication || - data.pricing || data.frameworks || data.links || data.tags ||