$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "beforeManifest": "{\n \"tools\": [\n {\n \"name\": \"get_current_time\",\n \"description\": \"Get current time in a specific timezone\",\n \"inputSchema\": {\n \"type\": \"object\",\n \"properties\": {\n \"timezone\": {\n \"type\": \"string\",\n \"default\": \"UTC\"\n }\n },\n \"required\": []\n }\n },\n {\n \"name\": \"convert_time\",\n \"description\": \"Convert time between timezones\",\n \"inputSchema\": {\n \"type\": \"object\",\n \"properties\": {\n \"source_timezone\": {\n \"type\": \"string\",\n \"default\": \"UTC\"\n },\n \"time\": {\n \"type\": \"string\"\n },\n \"target_timezone\": {\n \"type\": \"string\",\n \"default\": \"UTC\"\n }\n },\n \"required\": [\n \"time\"\n ]\n }\n }\n ]\n}",
< "afterManifest": "{\n \"tools\": [\n {\n \"name\": \"get_current_time\",\n \"description\": \"Get current time in a specific timezone\",\n \"inputSchema\": {\n \"type\": \"object\",\n \"properties\": {\n \"timezone\": {\n \"type\": \"string\",\n \"default\": \"UTC\"\n }\n },\n \"required\": []\n }\n },\n {\n \"name\": \"convert_time\",\n \"description\": \"Convert time between timezones\",\n \"inputSchema\": {\n \"type\": \"object\",\n \"properties\": {\n \"source_timezone\": {\n \"type\": \"string\",\n \"default\": \"UTC\"\n },\n \"time\": {\n \"type\": \"string\"\n },\n \"target_timezone\": {\n \"type\": \"string\",\n \"default\": \"UTC\"\n }\n },\n \"required\": [\n \"time\"\n ]\n }\n },\n {\n \"name\": \"get_time_ago\",\n \"description\": \"Look up the local time for a past time offset\",\n \"inputSchema\": {\n \"type\": \"object\",\n \"properties\": {\n \"timezone\": {\n \"type\": \"string\",\n \"default\": \"UTC\"\n },\n \"days_ago\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"default\": 0\n },\n \"hours_ago\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"default\": 0\n },\n \"minutes_ago\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"default\": 0\n },\n \"seconds_ago\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"default\": 0\n }\n },\n \"required\": []\n }\n }\n ]\n}"
<}
<EOF
$curl "https://api.apify.com/v2/actors/merciful_goldenlarch~mcp-manifest-diff/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'