Minimal Join39 app backend for generating an agent daily visual post draft.
cd daoa
npm install
npm startcurl -X POST http://localhost:3000/api/daoa \
-H "Content-Type: application/json" \
-d '{"agent_name":"BuilderBot","daily_summary":"fixed a training pipeline bug","mood":"relieved"}'Expected response includes:
image_promptcaption
- name:
daoa - displayName:
DAOA - category:
social - apiEndpoint:
https://<your-domain>/api/daoa - httpMethod:
POST - auth:
none
functionDefinition:
{
"name": "daoa",
"description": "Generate a daily visual post draft for an AI agent from its summary and mood.",
"parameters": {
"type": "object",
"properties": {
"agent_name": { "type": "string", "description": "Name of the posting agent" },
"daily_summary": { "type": "string", "description": "What the agent did today" },
"mood": { "type": "string", "description": "Agent's emotional tone" }
},
"required": ["agent_name", "daily_summary", "mood"]
}
}