{
  "openapi": "3.0.1",
  "info": {
    "title": "MCP Tool Manifest Generator",
    "description": "Generate structured MCP-style tool manifests from supplied tool definitions, OpenAPI-like docs, JSON schemas, Markdown docs, or existing function definitions.",
    "version": "1.0",
    "x-build-id": "z2R7NPNAPha5qmVMj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/junipr~mcp-tool-manifest-generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-junipr-mcp-tool-manifest-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/junipr~mcp-tool-manifest-generator/runs": {
      "post": {
        "operationId": "runs-sync-junipr-mcp-tool-manifest-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/junipr~mcp-tool-manifest-generator/run-sync": {
      "post": {
        "operationId": "run-sync-junipr-mcp-tool-manifest-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "toolDefinitions": {
            "title": "Tool Definitions",
            "type": "array",
            "description": "Tool Definitions controls MCP Tool Manifest Generator processing for the supplied inputs; keep values conservative for first runs.",
            "items": {
              "type": "object",
              "additionalProperties": true
            },
            "default": [
              {
                "sourceUrl": "https://github.com/github/github-mcp-server",
                "serverName": "github-mcp-server",
                "name": "get_file_contents",
                "inputSchema": {
                  "type": "object",
                  "properties": {
                    "owner": {
                      "type": "string",
                      "title": "Owner",
                      "description": "Owner input value."
                    },
                    "repo": {
                      "type": "string",
                      "title": "Repo",
                      "description": "Repo input value."
                    },
                    "path": {
                      "type": "string",
                      "title": "Path",
                      "description": "Path input value."
                    },
                    "ref": {
                      "type": "string",
                      "title": "Ref",
                      "description": "Ref input value."
                    }
                  },
                  "required": [
                    "owner",
                    "repo",
                    "path"
                  ]
                },
                "outputSchema": {
                  "type": "object"
                },
                "auth": {
                  "type": "github-token"
                },
                "examples": [
                  {
                    "owner": "modelcontextprotocol",
                    "repo": "servers",
                    "path": "README.md"
                  }
                ]
              }
            ]
          },
          "jsonSchemas": {
            "title": "JSON Schemas",
            "type": "array",
            "description": "Schemas used by MCP Tool Manifest Generator to validate supplied records or responses.",
            "items": {
              "type": "object",
              "additionalProperties": true
            },
            "default": []
          },
          "openApiFragments": {
            "title": "Open API Fragments",
            "type": "array",
            "description": "Open API Fragments controls MCP Tool Manifest Generator processing for the supplied inputs; keep values conservative for first runs.",
            "items": {
              "type": "object",
              "additionalProperties": true
            },
            "default": []
          },
          "markdownDocs": {
            "title": "Markdown Docs",
            "type": "array",
            "description": "Optional supplied Markdown documentation pages to convert or inspect.",
            "items": {
              "type": "object",
              "additionalProperties": true
            },
            "default": []
          },
          "readmeTexts": {
            "title": "Readme Texts",
            "type": "array",
            "description": "Supplied readme texts to analyze directly.",
            "items": {
              "type": "object",
              "additionalProperties": true
            },
            "default": []
          },
          "existingFunctionSpecs": {
            "title": "Existing Function Specs",
            "type": "array",
            "description": "Existing Function Specs controls MCP Tool Manifest Generator processing for the supplied inputs; keep values conservative for first runs.",
            "items": {
              "type": "object",
              "additionalProperties": true
            },
            "default": []
          },
          "manifestFormat": {
            "title": "Manifest Format",
            "type": "string",
            "description": "Manifest Format controls MCP Tool Manifest Generator processing for the supplied inputs; keep values conservative for first runs.",
            "default": "mcp-json"
          },
          "namingConvention": {
            "title": "Naming Convention",
            "type": "string",
            "description": "Naming Convention controls MCP Tool Manifest Generator processing for the supplied inputs; keep values conservative for first runs.",
            "default": "snake_case"
          },
          "includeExamples": {
            "title": "Include Examples",
            "type": "boolean",
            "description": "Include examples in output rows or reports when available.",
            "default": true
          },
          "includeSafetyNotes": {
            "title": "Include Safety Notes",
            "type": "boolean",
            "description": "Include safety notes in output rows or reports when available.",
            "default": true
          },
          "includeAuthMetadata": {
            "title": "Include Auth Metadata",
            "type": "boolean",
            "description": "Include auth metadata in output rows or reports when available.",
            "default": true
          },
          "strictValidation": {
            "title": "Strict Validation",
            "type": "boolean",
            "description": "Enable stricter validation for MCP Tool Manifest Generator and flag more edge cases as findings.",
            "default": true
          },
          "timeoutMs": {
            "title": "Timeout ms",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Maximum time in milliseconds allowed for the MCP Tool Manifest Generator operation before it is treated as timed out.",
            "default": 5000
          },
          "maxChargeUsd": {
            "title": "Max Charge USD",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Maximum estimated PPE charge allowed for the run before the actor stops gracefully.",
            "default": 1
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}